Functions¶
C¶
functionclock_elapsed(uint64_t) Returns the elapsed time in seconds sincestart_time,based onclock_now.functionclock_frequency() Returns the number of ticks per second for the clock used in clock_now().functionclock_now() Returns the current value of the OS's highest-resolution monotonic clock. On modern hardware, these typically map to hardware instructions (RDTSC/CNTVCT_EL0) via user-mode shared pages, avoiding a heavy syscall context switch.
G¶
functionget_cpu() Returns the CPU instruction set selected for use at runtime.
M¶
functionmeasure_rdtsc_cycle_time() Measures and returns the estimated cycle time in nanoseconds per tick for rdtsc.
O¶
functionoverride_cpu(cpu_t) Overrides the CPU instruction set used by KFR at runtime.
R¶
functionrdtsc() Reads the processor's cycle counter.
S¶
functionsteady_time() Returns the current time in nanoseconds since epoch using steady_clock.
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.