Class: RubyProf::Measure::Memory

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

Class Method Summary collapse

Class Method Details

.measure_process_timeFloat

Returns the process time.

Returns:

  • (Float)

62
63
64
65
66
# File 'ext/ruby_prof/rp_measure_memory.c', line 62

static VALUE
prof_measure_memory(VALUE self)
{
    return rb_float_new(measure_memory());
}