Expand description
CPU counters and built-in comparator capabilities for the selected target.
Structs§
- Timer
- Exclusive, non-migrating access to one CPU timer comparator. Dropping this view does not change timer or interrupt state.
- Timer
Control - Generic timer control and read-only condition flags.
Enums§
- Timer
Kind - A hardware comparator bank; selecting a bank does not select an IRQ route.
Functions§
- counter_
frequency - Reads the frequency advertised by CNTFRQ_EL0, in Hz. Platform calibration and validation of this value remain with the caller.
- physical_
counter - Reads the physical system counter after instruction synchronization.
- virtual_
counter - Reads the virtual system counter, including the installed virtual offset.