[][src]Crate cpu_freq

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.

Examples

Fetch CPU frequency

let cpus = cpu_freq::get();

Structs

CpuFreqs

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

Functions

get

Returns cpu frequency