pub fn frequency() -> &'static FrequencyExpand 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}"); }