pub struct SnapshotStats {
pub threads_total: u32,
pub threads_captured: u32,
pub threads_dropped: u32,
pub pause_nanos: u64,
}Expand description
What a capture cost and covered.
Fields§
§threads_total: u32Sibling threads observed during enumeration.
threads_captured: u32Threads successfully captured.
threads_dropped: u32Threads that could not be captured (exited mid-capture, access denied).
Non-zero means the snapshot is partial.
pause_nanos: u64Total time any thread spent suspended. The cost imposed on the target.
Trait Implementations§
Source§impl Clone for SnapshotStats
impl Clone for SnapshotStats
Source§fn clone(&self) -> SnapshotStats
fn clone(&self) -> SnapshotStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SnapshotStats
Source§impl Debug for SnapshotStats
impl Debug for SnapshotStats
Source§impl Default for SnapshotStats
impl Default for SnapshotStats
Source§fn default() -> SnapshotStats
fn default() -> SnapshotStats
Returns the “default value” for a type. Read more
impl Eq for SnapshotStats
Source§impl PartialEq for SnapshotStats
impl PartialEq for SnapshotStats
impl StructuralPartialEq for SnapshotStats
Auto Trait Implementations§
impl Freeze for SnapshotStats
impl RefUnwindSafe for SnapshotStats
impl Send for SnapshotStats
impl Sync for SnapshotStats
impl Unpin for SnapshotStats
impl UnsafeUnpin for SnapshotStats
impl UnwindSafe for SnapshotStats
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