pub struct HardwareCounterSampleV2 {
pub version: u16,
pub elapsed_ns: u64,
pub cycles: SourcedEvidenceV2<u64>,
pub instructions: SourcedEvidenceV2<u64>,
pub cache_references: SourcedEvidenceV2<u64>,
pub cache_misses: SourcedEvidenceV2<u64>,
pub branch_instructions: SourcedEvidenceV2<u64>,
pub branch_misses: SourcedEvidenceV2<u64>,
pub stalled_cycles_frontend: SourcedEvidenceV2<u64>,
pub stalled_cycles_backend: SourcedEvidenceV2<u64>,
pub stalled_cycles_memory: SourcedEvidenceV2<u64>,
}Expand description
One absolute hardware-counter reading taken by HardwareCounterCollector.
Fields§
§version: u16§elapsed_ns: u64§cycles: SourcedEvidenceV2<u64>§instructions: SourcedEvidenceV2<u64>§cache_references: SourcedEvidenceV2<u64>§cache_misses: SourcedEvidenceV2<u64>§branch_instructions: SourcedEvidenceV2<u64>§branch_misses: SourcedEvidenceV2<u64>§stalled_cycles_frontend: SourcedEvidenceV2<u64>§stalled_cycles_backend: SourcedEvidenceV2<u64>§stalled_cycles_memory: SourcedEvidenceV2<u64>Trait Implementations§
Source§impl Clone for HardwareCounterSampleV2
impl Clone for HardwareCounterSampleV2
Source§fn clone(&self) -> HardwareCounterSampleV2
fn clone(&self) -> HardwareCounterSampleV2
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 HardwareCounterSampleV2
impl Debug for HardwareCounterSampleV2
Source§impl<'de> Deserialize<'de> for HardwareCounterSampleV2
impl<'de> Deserialize<'de> for HardwareCounterSampleV2
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 HardwareCounterSampleV2
Source§impl PartialEq for HardwareCounterSampleV2
impl PartialEq for HardwareCounterSampleV2
Source§impl Serialize for HardwareCounterSampleV2
impl Serialize for HardwareCounterSampleV2
impl StructuralPartialEq for HardwareCounterSampleV2
Auto Trait Implementations§
impl Freeze for HardwareCounterSampleV2
impl RefUnwindSafe for HardwareCounterSampleV2
impl Send for HardwareCounterSampleV2
impl Sync for HardwareCounterSampleV2
impl Unpin for HardwareCounterSampleV2
impl UnsafeUnpin for HardwareCounterSampleV2
impl UnwindSafe for HardwareCounterSampleV2
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