pub struct Profile {
pub nodes: Vec<ProfileNode>,
pub startTime: f64,
pub endTime: f64,
pub samples: Option<Vec<i64>>,
pub timeDeltas: Option<Vec<i64>>,
}Expand description
Profile.
Fields§
§nodes: Vec<ProfileNode>The list of profile nodes. First item is the root node.
startTime: f64Profiling start timestamp in microseconds.
endTime: f64Profiling end timestamp in microseconds.
samples: Option<Vec<i64>>Ids of samples top nodes.
timeDeltas: Option<Vec<i64>>Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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