Module cpuid

Source

Functions§

bus_freq_hz
Returns the Bus frequency in Hz, based on reading Intel-specific cpuids, or None if the frequency can’t be determined from cpuids.
fake_tsc_frequency_cpuid
Given the tsc frequency in Hz and the bus frequency in Hz, return a fake version of cpuid leaf 0x15.
tsc_freq_hz
Returns the TSC frequency in Hz, based on reading Intel-specific cpuids, or None if the frequency can’t be determined from cpuids.
tsc_frequency_cpuid
Gets the TSC frequency for cpuid leaf 0x15 from the existing leaves 0x15 and 0x16.

Type Aliases§

CpuidCountFn
Function to retrieve the given CPUID leaf and sub-leaf.