Lines Matching refs:duration
518 double duration; in perf_lifecycle() local
527 duration = g_test_timer_elapsed(); in perf_lifecycle()
529 g_test_message("Lifecycle %u iterations: %f s", max, duration); in perf_lifecycle()
535 double duration; in perf_nesting() local
551 duration = g_test_timer_elapsed(); in perf_nesting()
554 maxcycles, maxnesting, duration); in perf_nesting()
574 double duration; in perf_yield() local
584 duration = g_test_timer_elapsed(); in perf_yield()
586 g_test_message("Yield %u iterations: %f s", maxcycles, duration); in perf_yield()
597 double duration; in perf_baseline() local
606 duration = g_test_timer_elapsed(); in perf_baseline()
608 g_test_message("Function call %u iterations: %f s", maxcycles, duration); in perf_baseline()
620 double duration; in perf_cost() local
630 duration = g_test_timer_elapsed(); in perf_cost()
631 ops = (long)(maxcycles / (duration * 1000)); in perf_cost()
636 duration, ops, in perf_cost()
637 (unsigned long)(1000000000.0 * duration / maxcycles)); in perf_cost()