pub struct ThreadHardwareV2 {
pub version: u16,
pub thread_id: u64,
pub span_count: u64,
pub cycles: u64,
pub instructions: u64,
pub cpi_milli: Evidence<u64>,
}Expand description
Per-thread cycle and instruction totals joined from span records.
Fields§
§version: u16§thread_id: u64§span_count: u64§cycles: u64§instructions: u64§cpi_milli: Evidence<u64>Trait Implementations§
Source§impl Clone for ThreadHardwareV2
impl Clone for ThreadHardwareV2
Source§fn clone(&self) -> ThreadHardwareV2
fn clone(&self) -> ThreadHardwareV2
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 ThreadHardwareV2
impl Debug for ThreadHardwareV2
Source§impl<'de> Deserialize<'de> for ThreadHardwareV2
impl<'de> Deserialize<'de> for ThreadHardwareV2
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 ThreadHardwareV2
Source§impl PartialEq for ThreadHardwareV2
impl PartialEq for ThreadHardwareV2
Source§impl Serialize for ThreadHardwareV2
impl Serialize for ThreadHardwareV2
impl StructuralPartialEq for ThreadHardwareV2
Auto Trait Implementations§
impl Freeze for ThreadHardwareV2
impl RefUnwindSafe for ThreadHardwareV2
impl Send for ThreadHardwareV2
impl Sync for ThreadHardwareV2
impl Unpin for ThreadHardwareV2
impl UnsafeUnpin for ThreadHardwareV2
impl UnwindSafe for ThreadHardwareV2
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