Struct cdp::profiler::ProfileNode
[−]
[src]
pub struct ProfileNode<'a> { pub id: i32, pub call_frame: CallFrame<'a>, pub hit_count: Option<i32>, pub children: Option<Vec<i32>>, pub deopt_reason: Option<Cow<'a, str>>, pub position_ticks: Option<Vec<PositionTickInfo>>, }
Profile node. Holds callsite information, execution statistics and child nodes.
Fields
id: i32
Unique id of the node.
call_frame: CallFrame<'a>
Function location.
hit_count: Option<i32>
[Experimental] Number of samples where this node was on top of the call stack.
children: Option<Vec<i32>>
Child node ids.
deopt_reason: Option<Cow<'a, str>>
The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
position_ticks: Option<Vec<PositionTickInfo>>
[Experimental] An array of source position ticks.
Trait Implementations
impl<'a> Clone for ProfileNode<'a>
[src]
fn clone(&self) -> ProfileNode<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for ProfileNode<'a>
[src]
impl<'a> PartialEq for ProfileNode<'a>
[src]
fn eq(&self, __arg_0: &ProfileNode<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ProfileNode<'a>) -> bool
[src]
This method tests for !=
.