Commit 33df3870 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Have the tool output some partial stats

parent 7fe28ae0
......@@ -117,10 +117,13 @@ def run(sampler, kind):
sampler.start()
# del sys.modules["__main__"] # do we need this?
try:
if fn == '-m':
runpy.run_module(module, run_name="__main__")
else:
runpy.run_path(fn, run_name="__main__")
except KeyboardInterrupt:
print "Interrupted!"
times = sampler.stop()
......
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