pub struct Stats {
pub time_in_state_us: [u64; 4],
pub transition_count: [u32; 4],
pub total_runtime_us: u64,
pub active_pct_x100: u32,
}Expand description
Runtime power statistics.
Fields§
§time_in_state_us: [u64; 4]Cumulative microseconds in each state.
transition_count: [u32; 4]Number of entries per state.
total_runtime_us: u64Total tracked runtime in microseconds.
active_pct_x100: u32Active percentage in hundredths (0..10000).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more