pub struct ProfileNode {
pub id: JsUInt,
pub call_frame: CallFrame,
pub hit_count: Option<JsUInt>,
pub children: Option<Vec<JsUInt>>,
pub deopt_reason: Option<String>,
pub position_ticks: Option<Vec<PositionTickInfo>>,
}Expand description
Profile node. Holds callsite information, execution statistics and child nodes.
Fields§
§id: JsUIntUnique id of the node.
call_frame: CallFrameFunction location.
hit_count: Option<JsUInt>Number of samples where this node was on top of the call stack.
children: Option<Vec<JsUInt>>Child node ids.
deopt_reason: Option<String>The reason of being not optimized. The function may be deoptimized or marked as don’t optimize.
position_ticks: Option<Vec<PositionTickInfo>>An array of source position ticks.
Trait Implementations§
Source§impl Clone for ProfileNode
impl Clone for ProfileNode
Source§fn clone(&self) -> ProfileNode
fn clone(&self) -> ProfileNode
Returns a duplicate of the value. Read more
1.0.0 · 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 ProfileNode
impl Debug for ProfileNode
Source§impl<'de> Deserialize<'de> for ProfileNode
impl<'de> Deserialize<'de> for ProfileNode
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
Source§impl PartialEq for ProfileNode
impl PartialEq for ProfileNode
Source§impl Serialize for ProfileNode
impl Serialize for ProfileNode
impl StructuralPartialEq for ProfileNode
Auto Trait Implementations§
impl Freeze for ProfileNode
impl RefUnwindSafe for ProfileNode
impl Send for ProfileNode
impl Sync for ProfileNode
impl Unpin for ProfileNode
impl UnsafeUnpin for ProfileNode
impl UnwindSafe for ProfileNode
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