Skip to main content

current_frequency

Function current_frequency 

Source
pub fn current_frequency() -> Result<Option<Mhz>>
Expand description

The current frequency, averaged over the online CPUs. None where the OS does not report it (macOS).

ยงErrors

Malformed when a frequency file does not parse; Os when the power query fails.