Lines Matching refs:total_time
357 static void speed_output(const struct shell *sh, uint64_t total_time, double loops, double size) in speed_output() argument
359 double time_per_loop = (double)total_time / loops; in speed_output()
373 total_time, time_per_loop, throughput, speed_types[speed_index]); in speed_output()
386 uint64_t total_time = 0; in cmd_read_test() local
410 total_time += loop_time; in cmd_read_test()
415 speed_output(sh, total_time, (double)loops, (double)size); in cmd_read_test()
430 uint64_t total_time = 0; in cmd_write_test() local
458 total_time += loop_time; in cmd_write_test()
463 speed_output(sh, total_time, (double)loops, (double)size); in cmd_write_test()
478 uint64_t total_time = 0; in cmd_erase_test() local
506 total_time += loop_time; in cmd_erase_test()
511 speed_output(sh, total_time, (double)loops, (double)size); in cmd_erase_test()
527 uint64_t total_time = 0; in cmd_erase_write_test() local
561 total_time += loop_time; in cmd_erase_write_test()
566 speed_output(sh, total_time, (double)loops, (double)size); in cmd_erase_write_test()