ptime fix - return precision clock time on py3
This commit is contained in:
parent
d70e870a44
commit
31b0ddcee6
@ -20,8 +20,7 @@ time = None
|
|||||||
|
|
||||||
def winTime():
|
def winTime():
|
||||||
"""Return the current time in seconds with high precision (windows version, use Manager.time() to stay platform independent)."""
|
"""Return the current time in seconds with high precision (windows version, use Manager.time() to stay platform independent)."""
|
||||||
return clock() - START_TIME
|
return clock() + START_TIME
|
||||||
#return systime.time()
|
|
||||||
|
|
||||||
def unixTime():
|
def unixTime():
|
||||||
"""Return the current time in seconds with high precision (unix version, use Manager.time() to stay platform independent)."""
|
"""Return the current time in seconds with high precision (unix version, use Manager.time() to stay platform independent)."""
|
||||||
|
Loading…
Reference in New Issue
Block a user