pub struct Profile {
pub nodes: Vec<ProfileNode>,
pub start_time: JsFloat,
pub end_time: JsFloat,
pub samples: Option<Vec<JsUInt>>,
pub time_deltas: Option<Vec<JsUInt>>,
}Expand description
Profile.
Fields§
§nodes: Vec<ProfileNode>The list of profile nodes. First item is the root node.
start_time: JsFloatProfiling start timestamp in microseconds.
end_time: JsFloatProfiling end timestamp in microseconds.
samples: Option<Vec<JsUInt>>Ids of samples top nodes.
time_deltas: Option<Vec<JsUInt>>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
impl StructuralPartialEq for Profile
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