Home | History | Annotate | Download | only in python2.7

Lines Matching defs:time

29 import time
123 [ 0] = Time that needs to be charged to the parent frame's function.
126 [ 1] = Total time spent in this frame's function, excluding time in
128 [ 2] = Total time spent in subfunctions, excluding time executing the
141 [2] = Total time spent internal to this function
142 [3] = Cumulative time that this function was present on the stack. In
143 non-recursive functions, this is the total execution time from start
144 to finish of each invocation of a function, including time spent in
167 elif hasattr(time, 'clock'):
168 self.timer = self.get_time = time.clock
175 self.timer = self.get_time = time.time
219 # an integer but float works too -- and time.clock() relies on that).
233 # Dispatch routine for macintosh (timer returns time in ticks of
265 # _pt self.cur[0] "parent time" time to be charged to parent frame
266 # _it self.cur[1] "internal time" time spent directly in the function
267 # _et self.cur[2] "external time" time spent in subfunctions
330 # its cumulative time will get updated when the topmost call to
337 # stats such as the amount of time added to ct courtesy
461 # problem is that it takes a fair amount of time for the profiler
462 # to stop the stopwatch (from the time it receives an event).
463 # Similarly, there is a delay from the time that the profiler
472 # done on the fly during init() time, but it is not worth the
474 # execution time on some functions will actually appear as a
479 # One alternative to profile-time calibration adjustments (i.e.,
484 # display time). Currently, we track only call/return events.
487 # internal time figure at print time (note that we currently don't
490 # time. It would not be hard to "get all this info" at profiler
491 # time. Specifically, we would have to extend the tuples to keep
495 # event/time ratio (i.e., the profiler would run slower, fur a very
529 # elapsed_noprofile <- time f(m) takes without profiling.
535 print "elapsed time without profiling =", elapsed_noprofile
537 # elapsed_profile <- time f(m) takes with profiling. The difference
546 print "elapsed time with profiling =", elapsed_profile