Class: RubyProf::Measure::WallTime

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

Class Method Summary collapse

Class Method Details

.measureObject

call-seq:

measure_wall_time -> float

Returns the wall time.



30
31
32
33
34
# File 'ext/ruby_prof/rp_measure_wall_time.c', line 30

static VALUE
prof_measure_wall_time(VALUE self)
{
    return rb_float_new(measure_wall_time());
}