We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4534075 commit fb47cd8Copy full SHA for fb47cd8
pystone_lowmem/pystone_lowmem.py
@@ -96,7 +96,7 @@ def Proc0(loops=LOOPS):
96
starttime = ticks_ms()
97
for i in range(loops):
98
pass
99
- nulltime = ticks_diff(starttime, ticks_ms())
+ nulltime = ticks_diff(ticks_ms(), starttime)
100
101
PtrGlbNext = Record()
102
PtrGlb = Record()
@@ -134,7 +134,7 @@ def Proc0(loops=LOOPS):
134
IntLoc2 = 7 * (IntLoc3 - IntLoc2) - IntLoc1
135
IntLoc1 = Proc2(IntLoc1)
136
137
- benchtime = ticks_diff(starttime, ticks_ms()) - nulltime
+ benchtime = ticks_diff(ticks_ms(), starttime) - nulltime
138
if benchtime == 0:
139
loopsPerBenchtime = 0
140
else:
0 commit comments