(self, frame, event, arg)
| 208 | # an integer but float works too -- and time.process_time() relies on that). |
| 209 | |
| 210 | def trace_dispatch_i(self, frame, event, arg): |
| 211 | timer = self.timer |
| 212 | t = timer() - self.t - self.bias |
| 213 | |
| 214 | if event == "c_call": |
| 215 | self.c_func_name = arg.__name__ |
| 216 | |
| 217 | if self.dispatch[event](self, frame, t): |
| 218 | self.t = timer() |
| 219 | else: |
| 220 | self.t = timer() - t # put back unrecorded delta |
| 221 | |
| 222 | # Dispatch routine for macintosh (timer returns time in ticks of |
| 223 | # 1/60th second) |