pub type DeviceGetPerformanceStateInfoResult = Result<CpuPerformanceStateInfo, i32>;