Skip to main content

detect_cpu_freq_range

Function detect_cpu_freq_range 

Source
pub fn detect_cpu_freq_range() -> Option<(u64, u64)>
Expand description

Returns the overall (min_khz, max_khz) CPU frequency range from sysfs cpufreq policies. min is the smallest cpuinfo_min_freq across all policies; max is the largest cpuinfo_max_freq.