heim-cpu 0.0.11

Cross-platform CPU information
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use winapi::shared::minwindef;

#[repr(C)]
#[derive(Debug)]
#[allow(non_snake_case)]
pub struct PROCESSOR_POWER_INFORMATION {
    pub Number: minwindef::ULONG,
    pub MaxMhz: minwindef::ULONG,
    pub CurrentMhz: minwindef::ULONG,
    pub MhzLimit: minwindef::ULONG,
    pub MaxIdleState: minwindef::ULONG,
    pub CurrentIdleState: minwindef::ULONG,
}