Lines Matching refs:time

29 import time
118 [ 1] = Total time spent in this frame's function, excluding time in
120 [ 2] = Total time spent in subfunctions, excluding time executing the
133 [2] = Total time spent internal to this function
134 [3] = Cumulative time that this function was present on the stack. In
135 non-recursive functions, this is the total execution time from start
136 to finish of each invocation of a function, including time spent in
155 self.timer = self.get_time = time.process_time
181 # Heavily optimized dispatch routine for time.process_time() timer
199 # an integer but float works too -- and time.process_time() relies on that).
213 # Dispatch routine for macintosh (timer returns time in ticks of
245 # _pt self.cur[0] "parent time" time to be charged to parent frame
246 # _it self.cur[1] "internal time" time spent directly in the function
247 # _et self.cur[2] "external time" time spent in subfunctions
310 # its cumulative time will get updated when the topmost call to
317 # stats such as the amount of time added to ct courtesy
440 # problem is that it takes a fair amount of time for the profiler
441 # to stop the stopwatch (from the time it receives an event).
442 # Similarly, there is a delay from the time that the profiler
451 # done on the fly during init() time, but it is not worth the
453 # execution time on some functions will actually appear as a
458 # One alternative to profile-time calibration adjustments (i.e.,
463 # display time). Currently, we track only call/return events.
466 # internal time figure at print time (note that we currently don't
469 # time. It would not be hard to "get all this info" at profiler
470 # time. Specifically, we would have to extend the tuples to keep
474 # event/time ratio (i.e., the profiler would run slower, fur a very
508 # elapsed_noprofile <- time f(m) takes without profiling.
514 print("elapsed time without profiling =", elapsed_noprofile)
516 # elapsed_profile <- time f(m) takes with profiling. The difference
525 print("elapsed time with profiling =", elapsed_profile)