Use Timer to start or stop counting, read or set ticks, and calculate elapsed ticks across a wrap. Bind optional timing controls only when the target supplies them for the same resource.
Read ticks() before the interval and compute elapsed_since only within one full counter period.
Add this repository's include/ and the matching timer-contract/include/ to the C++11 include path. Include <timer/timer.hpp> and supply a live implementation of the matching Contract. The Core borrows it. In a future device composition, Devices will select the concrete Adapter and wire it to the Core.
Use Doxygen 1.18.0. From this repository root, create build/ if it does not exist, then run doxygen Doxyfile.
mkdir -p build
doxygen DoxyfileOn PowerShell, use New-Item -ItemType Directory -Force build for the first command. Open build/docs/html/index.html. Mermaid diagrams render in a browser with access to the Mermaid CDN. GitHub Pages publication runs on published releases and on manual dispatches from main once Pages is enabled.