Timer overhaul: update tests
This commit is contained in:
parent
5d41292bf6
commit
cec76b63dc
78 changed files with 521 additions and 495 deletions
|
|
@ -134,7 +134,7 @@ init = mcrfpy.Scene("init")
|
|||
init.activate()
|
||||
|
||||
# Use a timer to let the engine initialize
|
||||
def run_benchmark(runtime):
|
||||
def run_benchmark(timer, runtime):
|
||||
main()
|
||||
|
||||
mcrfpy.setTimer("bench", run_benchmark, 100)
|
||||
bench_timer = mcrfpy.Timer("bench", run_benchmark, 100, once=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue