struct Protocol::Profiler::Profile

Overview

Profile.

Included Modules

Defined in:

protocol/profiler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def end_time : Number::Primitive #

Profiling end timestamp in microseconds.


[View source]
def nodes : Array(ProfileNode) #

The list of profile nodes. First item is the root node.


[View source]
def samples : Array(Int::Primitive) | Nil #

Ids of samples top nodes.


[View source]
def start_time : Number::Primitive #

Profiling start timestamp in microseconds.


[View source]
def time_deltas : Array(Int::Primitive) | Nil #

Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.


[View source]