pub struct StageHardwareV2 {
pub version: u16,
pub metric_id: MetricId,
pub span_count: u64,
pub cycles: u64,
pub instructions: u64,
pub cpi_milli: Evidence<u64>,
}Expand description
Per-stage cycle and instruction totals joined from span records.
Fields§
§version: u16§metric_id: MetricId§span_count: u64Spans of this stage that carried hardware readings.
cycles: u64§instructions: u64§cpi_milli: Evidence<u64>Cycles per instruction in thousandths.
Trait Implementations§
Source§impl Clone for StageHardwareV2
impl Clone for StageHardwareV2
Source§fn clone(&self) -> StageHardwareV2
fn clone(&self) -> StageHardwareV2
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 StageHardwareV2
impl Debug for StageHardwareV2
Source§impl<'de> Deserialize<'de> for StageHardwareV2
impl<'de> Deserialize<'de> for StageHardwareV2
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 StageHardwareV2
Source§impl PartialEq for StageHardwareV2
impl PartialEq for StageHardwareV2
Source§impl Serialize for StageHardwareV2
impl Serialize for StageHardwareV2
impl StructuralPartialEq for StageHardwareV2
Auto Trait Implementations§
impl Freeze for StageHardwareV2
impl RefUnwindSafe for StageHardwareV2
impl Send for StageHardwareV2
impl Sync for StageHardwareV2
impl Unpin for StageHardwareV2
impl UnsafeUnpin for StageHardwareV2
impl UnwindSafe for StageHardwareV2
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