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.



32
33
34
35
36
# File 'ext/ruby_prof/rp_measure_wall_time.c', line 32

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