[Tutor] time taken to execute certain task
tee chwee liong
tcl76 at hotmail.com
Thu Mar 17 10:06:56 CET 2011
hi,
i used profiler. but it gives 0 sec? is this expected? tq
>>> profile.run('import math')
3 function calls in 0.000 CPU seconds
Ordered by: standard name
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.000 0.000 :0(setprofile)
1 0.000 0.000 0.000 0.000 <string>:1(<module>)
1 0.000 0.000 0.000 0.000 profile:0(import math)
0 0.000 0.000 profile:0(profiler)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110317/d5d76c24/attachment.html>
More information about the Tutor
mailing list