pub fn current_freq_khz(cpu: u32) -> u64Expand description
Read a CPU’s current operating frequency from sysfs, in kHz. The
scaling_cur_freq file reflects the live frequency of the CPU,
whatever the governor is doing; a missing or unreadable file (no
cpufreq driver) yields 0.