Record a timing checkpoint.
(self, name: str)
| 34 | self._checkpoints["start"] = self._start_time |
| 35 | |
| 36 | def checkpoint(self, name: str) -> None: |
| 37 | """Record a timing checkpoint.""" |
| 38 | if self._start_time is None: |
| 39 | raise RuntimeError("Timer not started - call start() first") |
| 40 | self._checkpoints[name] = time.time() |
| 41 | |
| 42 | def calculate_phases(self) -> None: |
| 43 | """Calculate phase durations from checkpoints.""" |
no test coverage detected