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.
48 49 50 51 52 53 54 55 56 |
# File 'ext/ruby_prof/rp_measure_allocations.c', line 48 static VALUE prof_measure_allocations(VALUE self) { #if defined(HAVE_LONG_LONG) return ULL2NUM(measure_allocations()); #else return ULONG2NUM(measure_allocations()); #endif } |