Class: RubyProf::Measure::Allocations
- Inherits:
-
Object
- Object
- RubyProf::Measure::Allocations
- Defined in:
- ext/ruby_prof/rp_measure_allocations.c
Class Method Summary collapse
-
.measure ⇒ Integer
Returns the number of Ruby object allocations.
Class Method Details
.measure ⇒ Integer
Returns the number of Ruby object allocations.
59 60 61 62 63 64 65 66 67 |
# File 'ext/ruby_prof/rp_measure_allocations.c', line 59 static VALUE prof_measure_allocations(VALUE self) { #if defined(HAVE_LONG_LONG) return ULL2NUM(measure_allocations()); #else return ULONG2NUM(measure_allocations()); #endif } |