struct Bindgen::Statistics::Timing

Overview

Stores timing data of a measured stage.

Defined in:

bindgen/statistics.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(duration : Time::Span, heap_size_change : Int64, child : Nil | Bindgen::Statistics = nil) #

[View source]

Instance Method Detail

def child : Statistics | Nil #

If the executed block returned a Statistics, it'll be recorded here.


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

The duration of this statistic


[View source]
def heap_size_change : Int64 #

Heap size change, in bytes.


[View source]