struct Azu::DevelopmentTools::Profiler::ProfileEntry

Overview

Profile entry representing a single measurement

Included Modules

Defined in:

azu/development_tools.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, duration : Time::Span, memory_before : Int64, memory_after : Int64, timestamp : Time, call_stack : Array(String) | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def call_stack : Array(String) | Nil #

[View source]
def duration : Time::Span #

[View source]
def memory_after : Int64 #

[View source]
def memory_before : Int64 #

[View source]
def memory_delta #

[View source]
def memory_delta_mb #

[View source]
def name : String #

[View source]
def timestamp : Time #

[View source]