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

Unique id of the node.

Function location.

[Experimental] Number of samples where this node was on top of the call stack.

Child node ids.

The reason of being not optimized. The function may be deoptimized or marked as don't optimize.

[Experimental] An array of source position ticks.

Trait Implementations

impl<'a> Clone for ProfileNode<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for ProfileNode<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ProfileNode<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.