Commit Graph
1 Commits
Author SHA1 Message Date
Devika Verma addd78f3b9 fix(engine): time model calls, tools and waits with perf_counter, which ticks every millisecond on Windows (OPE-245)
time.monotonic() on Windows is GetTickCount64, which ticks every
15.625 ms, so the transcript's timing sidecar (model_ms, tool_ms,
waited_ms) read 0 or 15.6 for anything short. perf_counter() is
monotonic too and ticks in fractions of a microsecond on every OS.
The new test fails on Windows without the change.
2026-11-02 07:53:28 +05:30