Skip to main content

Module timer

Module timer 

Source
Expand description

CPU counters and built-in comparator capabilities for the selected target.

Functions§

read_adjustment
Reads this CPU’s firmware/OS TSC adjustment. CPUID must advertise TSC_ADJUST.
read_counter
Reads the raw TSC without instruction serialization. This alone does not prove counter frequency, invariance or CPU synchronization.