W3cubDocs

/Crystal

struct GC::Stats

Defined in:

gc.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def bytes_since_gc : LibC::ULong

def cloneSource

def 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)Source

def free_bytes : LibC::ULong

def heap_size : LibC::ULong

def total_bytes : LibC::ULong

def unmapped_bytes : LibC::ULong

© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/GC/Stats.html