mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
5b0ecff3cc
commit
1f3c6678fa
@ -69,7 +69,7 @@ except ImportError:
|
||||
return (timebase.numer, timebase.denom)
|
||||
|
||||
timebase = mach_timebase_info()
|
||||
factor = timebase[0] / timebase[1] * NSEC_PER_SEC
|
||||
factor = timebase[0] / (timebase[1] * NSEC_PER_SEC)
|
||||
|
||||
def monotonic(): # NOQA
|
||||
return mach_absolute_time() * factor
|
||||
|
Loading…
x
Reference in New Issue
Block a user