Class: RubyProf::Measure::GcTime

Inherits:
Object
  • Object
show all
Defined in:
ext/ruby_prof/rp_measure_gc_time.c

Class Method Summary collapse

Class Method Details

.measureFloat

Returns the time spent performing GC.

Returns:

  • (Float)

45
46
47
48
49
# File 'ext/ruby_prof/rp_measure_gc_time.c', line 45

static VALUE
prof_measure_gc_time(VALUE self)
{
    return rb_float_new(measure_gc_time());
}