Lines Matching refs:delta_ns
38 void false_hits_report_progress(int iter, struct bench_res *res, long delta_ns) in false_hits_report_progress() argument
43 iter, (delta_ns - 1000000000) / 1000.0); in false_hits_report_progress()
67 void hits_drops_report_progress(int iter, struct bench_res *res, long delta_ns) in hits_drops_report_progress() argument
72 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress()
74 drops_per_sec = res->drops / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress()
77 iter, (delta_ns - 1000000000) / 1000.0); in hits_drops_report_progress()
158 void ops_report_progress(int iter, struct bench_res *res, long delta_ns) in ops_report_progress() argument
162 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0); in ops_report_progress()
165 printf("Iter %3d (%7.3lfus): ", iter, (delta_ns - 1000000000) / 1000.0); in ops_report_progress()
192 long delta_ns) in local_storage_report_progress() argument
195 double delta_sec = delta_ns / 1000000000.0; in local_storage_report_progress()
200 printf("Iter %3d (%7.3lfus): ", iter, (delta_ns - 1000000000) / 1000.0); in local_storage_report_progress()
406 static void collect_measurements(long delta_ns);
412 long delta_ns = new_time_ns - last_time_ns; in sigalarm_handler() local
414 collect_measurements(delta_ns); in sigalarm_handler()
648 static void collect_measurements(long delta_ns) { in collect_measurements() argument
655 bench->report_progress(iter, res, delta_ns); in collect_measurements()