module Vips::Stats

Extended Modules

Defined in:

vips/stats.cr

Instance Method Summary

Instance Method Detail

def allocations : Int #

Get the number of active allocations.


[View source]
def mem : Int #

Get the number of bytes currently allocated vips_malloc() and friends. libvips uses this figure to decide when to start dropping cache.


[View source]
def mem_highwater : Int #

Returns the largest number of bytes simultaneously allocated via vips_tracked_malloc(). Handy for estimating max memory requirements for a program.


[View source]
def open_files : Int #

Get the number of open files.


[View source]