(self)
| 383 | # timings for self.cmd frame. |
| 384 | |
| 385 | def simulate_cmd_complete(self): |
| 386 | get_time = self.get_time |
| 387 | t = get_time() - self.t |
| 388 | while self.cur[-1]: |
| 389 | # We *can* cause assertion errors here if |
| 390 | # dispatch_trace_return checks for a frame match! |
| 391 | self.dispatch['return'](self, self.cur[-2], t) |
| 392 | t = 0 |
| 393 | self.t = get_time() - t |
| 394 | |
| 395 | |
| 396 | def print_stats(self, sort=-1): |