pub struct ThreadDelta {
pub thread_id: u64,
pub wakeups: Option<u64>,
pub cpu_seconds: Option<f64>,
pub name: Option<String>,
pub start_address: Option<u64>,
pub started_in_window: bool,
}Expand description
What one thread did between two snapshots.
Fields§
§thread_id: u64§wakeups: Option<u64>Wake-ups in the window; None when either snapshot lacks the counter.
cpu_seconds: Option<f64>CPU seconds in the window; None when either snapshot lacks it.
name: Option<String>§start_address: Option<u64>§started_in_window: boolThe thread was not in the first snapshot: it began inside the window, so its whole count (and CPU time) is the window’s.
Trait Implementations§
Source§impl Clone for ThreadDelta
impl Clone for ThreadDelta
Source§impl Debug for ThreadDelta
impl Debug for ThreadDelta
Source§impl PartialEq for ThreadDelta
impl PartialEq for ThreadDelta
impl StructuralPartialEq for ThreadDelta
Auto Trait Implementations§
impl Freeze for ThreadDelta
impl RefUnwindSafe for ThreadDelta
impl Send for ThreadDelta
impl Sync for ThreadDelta
impl Unpin for ThreadDelta
impl UnsafeUnpin for ThreadDelta
impl UnwindSafe for ThreadDelta
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