Skip to content

struct GC::Stats
inherits Struct

Class methods

.new(heap_size : LibC::ULong, free_bytes : LibC::ULong, unmapped_bytes : LibC::ULong, bytes_since_gc : LibC::ULong, total_bytes : LibC::ULong)

View source

Methods

#bytes_since_gc : LibC::ULong

#clone

View source

#copy_with(heap_size _heap_size = @heap_size, free_bytes _free_bytes = @free_bytes, unmapped_bytes _unmapped_bytes = @unmapped_bytes, bytes_since_gc _bytes_since_gc = @bytes_since_gc, total_bytes _total_bytes = @total_bytes)

View source

#free_bytes : LibC::ULong

#heap_size : LibC::ULong

#total_bytes : LibC::ULong

#unmapped_bytes : LibC::ULong