heim_cpu

Function frequency

Source
pub fn frequency() -> impl Future<Output = Result<CpuFrequency>>
Expand description

Returns future which will resolve into CpuFrequency.

ยงCompatibility

Per-CPU frequencies retrieval is available for Linux, see Linux-specific frequencies function.