Skip to main content

timer

Function timer 

Source
pub fn timer() -> bool
Expand description

Measure CPU cycle overhead of a CPUID call using RDTSC; unusually high values indicate a hypervisor translating RDTSC.