Class: RubyProf::Measure::GcRuns
- Inherits:
-
Object
- Object
- RubyProf::Measure::GcRuns
- Defined in:
- ext/ruby_prof/rp_measure_gc_runs.c
Class Method Summary collapse
-
.measure ⇒ Integer
Returns the number of GC runs.
Class Method Details
.measure ⇒ Integer
Returns the number of GC runs.
54 55 56 57 58 59 60 61 62 |
# File 'ext/ruby_prof/rp_measure_gc_runs.c', line 54
static VALUE
prof_measure_gc_runs(VALUE self)
{
#if defined(HAVE_LONG_LONG)
return ULL2NUM(measure_gc_runs());
#else
return ULONG2NUM(measure_gc_runs());
#endif
}
|