Esempio n. 1
0
/* call-seq:
   wait_time -> float

Returns the total amount of time this method waited for other threads. */
static VALUE
prof_call_info_wait_time(VALUE self)
{
    prof_call_info_t *result = prof_get_call_info_result(self);

    return rb_float_new(convert_measurement(result->wait_time));
}
Esempio n. 2
0
VALUE call_tree_time(VALUE self)
{
    return rb_float_new(convert_measurement(get_call_tree(self)->time));
}