Class: RubyProf::Measure::ProcessTime

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

Class Method Summary collapse

Class Method Details

.measure_process_timeFloat

Returns the process time.

Returns:

  • (Float)


49
50
51
52
53
# File 'ext/ruby_prof/rp_measure_process_time.c', line 49

static VALUE
prof_measure_process_time(VALUE self)
{
    return rb_float_new(measure_process_time());
}