X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=python%2Fovs%2Ftimeval.py;h=71160798d6269eabc27f55cae2bba2f6e0e78ec0;hb=ed93d0fda84b375802c1c7fd70a25f2cc82712ad;hp=cd657ddc417844e76af4a7842830f0529701f2ad;hpb=991559357f6a03c3a5b70c053c8c2554aa8d5ee4;p=openvswitch diff --git a/python/ovs/timeval.py b/python/ovs/timeval.py index cd657ddc..71160798 100644 --- a/python/ovs/timeval.py +++ b/python/ovs/timeval.py @@ -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