Home
last modified time | relevance | path

Searched refs:stats_buf (Results 1 – 1 of 1) sorted by relevance

/system/extras/tests/ext4/
Drand_emmc_perf.c49 static void print_stats(struct stats *stats_buf, int stats_count, in print_stats() argument
73 timersub(&stats_buf[i].end, &stats_buf[i].start, &t); in print_stats()
100 timersub(&stats_buf[i].end, &stats_buf[i].start, &t); /* Xi */ in print_stats()
113 struct stats *stats_buf; in stats_test() local
117 stats_buf = malloc(stats_count * sizeof(struct stats)); in stats_test()
118 if (stats_buf == NULL) { in stats_test()
124 gettimeofday(&stats_buf[i].start, NULL); in stats_test()
140 gettimeofday(&stats_buf[i].end, NULL); in stats_test()
143 print_stats(stats_buf, stats_count, full_stats_file); in stats_test()