Struct chrome_remote_interface_model::profiler::ProfileNode[][src]

pub struct ProfileNode { /* fields omitted */ }
This is supported on crate features Profiler and Runtime and Debugger only.

Profile node. Holds callsite information, execution statistics and child nodes.

Implementations

impl ProfileNode[src]

pub fn builder() -> ProfileNodeBuilder[src]

pub fn id(&self) -> u32[src]

Unique id of the node.

pub fn call_frame(&self) -> &CallFrame[src]

Function location.

pub fn hit_count(&self) -> Option<&u32>[src]

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

pub fn children(&self) -> Option<&Vec<u32>>[src]

Child node ids.

pub fn deopt_reason(&self) -> Option<&String>[src]

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

pub fn position_ticks(&self) -> Option<&Vec<PositionTickInfo>>[src]

An array of source position ticks.

Trait Implementations

impl Clone for ProfileNode[src]

impl Debug for ProfileNode[src]

impl<'de> Deserialize<'de> for ProfileNode[src]

impl Serialize for ProfileNode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.