Class: RubyProf::Measure::GcTime
- Inherits:
-
Object
- Object
- RubyProf::Measure::GcTime
- Defined in:
- ext/ruby_prof/rp_measure_gc_time.c
Class Method Summary collapse
-
.measure ⇒ Float
Returns the time spent performing GC.
Class Method Details
.measure ⇒ Float
Returns the time spent performing GC.
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());
}
|