pub struct PhaseInsightV2 {Show 13 fields
pub version: u16,
pub state: RunState,
pub wall_ns: u64,
pub share_ppm: u64,
pub cpu_ns: u64,
pub speedup_milli: u64,
pub serial: bool,
pub mib_per_second_milli: u64,
pub units_per_second_milli: u64,
pub resident_start_bytes: u64,
pub resident_end_bytes: u64,
pub threads_start: u64,
pub threads_end: u64,
}Expand description
Wall time, CPU time, and memory for one macro phase.
Fields§
§version: u16§state: RunState§wall_ns: u64§cpu_ns: u64§speedup_milli: u64cpu_ns / wall_ns in thousandths: the workers this phase actually used.
serial: boolTrue when the phase ran at roughly one worker while a pool existed.
mib_per_second_milli: u64§units_per_second_milli: u64§resident_start_bytes: u64§resident_end_bytes: u64§threads_start: u64§threads_end: u64Trait Implementations§
Source§impl Clone for PhaseInsightV2
impl Clone for PhaseInsightV2
Source§fn clone(&self) -> PhaseInsightV2
fn clone(&self) -> PhaseInsightV2
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 moreSource§impl Debug for PhaseInsightV2
impl Debug for PhaseInsightV2
Source§impl<'de> Deserialize<'de> for PhaseInsightV2
impl<'de> Deserialize<'de> for PhaseInsightV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PhaseInsightV2
Source§impl PartialEq for PhaseInsightV2
impl PartialEq for PhaseInsightV2
Source§impl Serialize for PhaseInsightV2
impl Serialize for PhaseInsightV2
impl StructuralPartialEq for PhaseInsightV2
Auto Trait Implementations§
impl Freeze for PhaseInsightV2
impl RefUnwindSafe for PhaseInsightV2
impl Send for PhaseInsightV2
impl Sync for PhaseInsightV2
impl Unpin for PhaseInsightV2
impl UnsafeUnpin for PhaseInsightV2
impl UnwindSafe for PhaseInsightV2
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