X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=python%2Fovs%2Ftimeval.py;h=ba0e54e931eca7414071990655cb0b99f33fea15;hb=e0edde6fee279cdbbf3c179f5f50adaf0c7c7f1e;hp=cd657ddc417844e76af4a7842830f0529701f2ad;hpb=991559357f6a03c3a5b70c053c8c2554aa8d5ee4;p=sliver-openvswitch.git diff --git a/python/ovs/timeval.py b/python/ovs/timeval.py index cd657ddc4..ba0e54e93 100644 --- a/python/ovs/timeval.py +++ b/python/ovs/timeval.py @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2010 Nicira Networks +# Copyright (c) 2009, 2010 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,11 +14,13 @@ import time + def msec(): """Returns the current time, as the amount of time since the epoch, in milliseconds, as a float.""" return time.time() * 1000.0 + def postfork(): # Just a stub for now pass