Skip to main content

frequency

Function frequency 

Source
pub fn frequency() -> &'static Frequency
Expand description

The base and maximum frequency: a static fact. Apple silicon reports neither. There is no “total frequency”: a sum of per-core frequencies means nothing.

if let Some(max) = sys_lib::cpu::frequency().max { println!("up to {max}"); }