pub fn tsc_frequency_cpuid(cpuid_count: CpuidCountFn) -> Option<CpuIdEntry>
Expand description

Gets the TSC frequency for cpuid leaf 0x15 from the existing leaves 0x15 and 0x16.

§Arguments

  • cpuid_count: function that returns the CPUID information for the given leaf/subleaf combination. std::arch::x86_64::__cpuid_count may be used to provide the CPUID information from the host.