struct Lapis::Profiler::AllocationDelta

Overview

Stack-allocated delta between two snapshots.

Defined in:

libgodot/profiler/core/snapshot.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

try?(&)
try?
try?

Constructor Detail

def self.new(bytes_allocated : Int64, bytes_since_gc_delta : Int64, heap_size_delta : Int64, duration : ::Time::Span) #

Instance Method Detail

def bytes_allocated : Int64 #

def bytes_since_gc_delta : Int64 #

def duration : ::Time::Span #

def heap_size_delta : Int64 #

def zero_allocation? : Bool #

Returns true if zero heap bytes were allocated during the measured window.