ptime fix - return precision clock time on py3

This commit is contained in:
Luke Campagnola 2020-07-17 09:53:19 +03:00
parent d70e870a44
commit 31b0ddcee6

View File

@ -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)."""