(self)
| 778 | return self.reader.default_start_tick(), self.reader.max_tick_ms |
| 779 | |
| 780 | def list_threads(self) -> list[dict[str, Any]]: |
| 781 | return [ |
| 782 | { |
| 783 | "thread_id": thread.thread_id, |
| 784 | "first_tick_ms": thread.first_tick_ms, |
| 785 | "last_tick_ms": thread.last_tick_ms, |
| 786 | "total_malloc_bytes": thread.total_malloc_bytes, |
| 787 | "total_free_bytes": thread.total_free_bytes, |
| 788 | "net_bytes": thread.total_malloc_bytes - thread.total_free_bytes, |
| 789 | } |
| 790 | for thread in self.reader.thread_table |
| 791 | ] |
| 792 | |
| 793 | def list_functions( |
| 794 | self, |
no outgoing calls
no test coverage detected