Skip to content

fix: refine CPU tick timer semantics - #76

Merged
LimiNode merged 1 commit into
mainfrom
codex/implement-cputicktimer-class
Sep 23, 2025
Merged

fix: refine CPU tick timer semantics#76
LimiNode merged 1 commit into
mainfrom
codex/implement-cputicktimer-class

Conversation

@LimiNode

Copy link
Copy Markdown
Owner

Summary

  • add a CpuTickTimer helper that wraps get_cpu_time() for elapsed, restart, and sample statistics, documenting tick units and invariants
  • add stop control and compensated accumulation to the timer
  • cover the new timer with unit checks inside the existing time_utils_test, including stop/resume behaviour

Testing

  • cmake -S . -B build
  • cmake --build build
  • ctest --test-dir build

https://chatgpt.com/codex/tasks/task_e_68d23e667f68832c8ba06a39d0e7e541

Document tick units, add stop control, and use compensated accumulation for recorded samples while updating tests.
@LimiNode
LimiNode merged commit 32a0ddb into main Sep 23, 2025
7 checks passed
@LimiNode
LimiNode deleted the codex/implement-cputicktimer-class branch December 5, 2025 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant