MCPcopy Create free account
hub / github.com/FastLED/FastLED / checkpoint

Method checkpoint

ci/meson/build_timer.py:36–40  ·  view source on GitHub ↗

Record a timing checkpoint.

(self, name: str)

Source from the content-addressed store, hash-verified

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."""

Callers 6

run_meson_build_and_testFunction · 0.95
stream_compile_onlyFunction · 0.80
run_sequential_compileFunction · 0.80
run_direct_testFunction · 0.80

Calls 1

timeMethod · 0.80

Tested by

no test coverage detected