Lines Matching refs:loops
529 static void speed_output(const struct shell *sh, uint64_t total_time, double loops, double size) in speed_output() argument
531 double time_per_loop = (double)total_time / loops; in speed_output()
560 uint32_t loops = 0; in cmd_read_test() local
592 while (loops < repeat) { in cmd_read_test()
630 ++loops; in cmd_read_test()
633 shell_print(sh, "Loop #%u done in %llums.", loops, loop_time); in cmd_read_test()
636 speed_output(sh, total_time, (double)loops, (double)size); in cmd_read_test()
653 uint32_t loops = 0; in cmd_erase_write_test() local
681 while (loops < repeat) { in cmd_erase_write_test()
738 ++loops; in cmd_erase_write_test()
741 shell_print(sh, "Loop #%u done in %llums.", loops, loop_time); in cmd_erase_write_test()
744 speed_output(sh, total_time, (double)loops, (double)size); in cmd_erase_write_test()