(self, stack_frames, timestamps_us=None)
| 54 | self.callers[callee][caller] += weight |
| 55 | |
| 56 | def collect(self, stack_frames, timestamps_us=None): |
| 57 | weight = len(timestamps_us) if timestamps_us else 1 |
| 58 | for frames, _ in self._iter_stacks(stack_frames, skip_idle=self.skip_idle): |
| 59 | self._process_frames(frames, weight=weight) |
| 60 | |
| 61 | def export(self, filename): |
| 62 | self.create_stats() |