Lines Matching refs:stats_count
49 static void print_stats(struct stats *stats_buf, int stats_count, in print_stats() argument
72 for (i = 0; i < stats_count; i++) { in print_stats()
89 avg_usecs = total_usecs / stats_count; in print_stats()
99 for (i = 0; i < stats_count; i++) { in print_stats()
106 sdev = sqrt((double)variance/(double)stats_count); in print_stats()
110 static void stats_test(int fd, int write_mode, off64_t max_blocks, int stats_count, in stats_test() argument
117 stats_buf = malloc(stats_count * sizeof(struct stats)); in stats_test()
123 for (i = 0; i < stats_count; i++) { in stats_test()
143 print_stats(stats_buf, stats_count, full_stats_file); in stats_test()
189 int stats_count; in main() local
216 stats_count = atoi(optarg); in main()
258 stats_test(fd, write_mode, max_blocks, stats_count, full_stats_file); in main()