A crate to obtain CPU frequency information
The crates attempts to obtain the information with as little permissions as possible, in the fastest way possible, while still returning a result.
Fetch CPU frequency
let cpus = cpu_freq::get();
Struct for CPU frequencies, you can get the current frequency as well as the minimum and maximum values available. When a value is not available it return None
Returns cpu frequency