Commit 15873476 authored by Stefan Behnel's avatar Stefan Behnel

added common entry point to richards benchmark

parent 93f2a095
......@@ -402,7 +402,7 @@ def entry_point(iterations):
endTime = time.time()
return result, startTime, endTime
def main(entry_point = entry_point, iterations = 10):
def main(iterations = 10, entry_point = entry_point):
print("Richards benchmark (Python) starting... [%r]" % entry_point)
result, startTime, endTime = entry_point(iterations)
if not result:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment