123456789_123456789_123456789_123456789_123456789_

Class: GC::Profiler

Relationships & Source Files
Inherits: Object
Defined in: gc.c

Overview

The GC profiler provides access to information on ::GC runs including time, length and object space size.

Example:

GC::Profiler.enable

require 'rdoc/rdoc'

GC::Profiler.report

GC::Profiler.disable

See also count, GC.malloc_allocated_size and GC.malloc_allocations