Struct fxprof_processed_profile::Timestamp
source · pub struct Timestamp { /* private fields */ }
Expand description
The type used for sample and marker timestamps.
Timestamps in the profile are stored in reference to the profile’s ReferencTimestamp
.
Implementations§
source§impl Timestamp
impl Timestamp
pub fn from_nanos_since_reference(nanos: u64) -> Self
pub fn from_millis_since_reference(millis: f64) -> Self
Trait Implementations§
source§impl Ord for Timestamp
impl Ord for Timestamp
source§impl PartialEq<Timestamp> for Timestamp
impl PartialEq<Timestamp> for Timestamp
source§impl PartialOrd<Timestamp> for Timestamp
impl PartialOrd<Timestamp> for Timestamp
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more