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