mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Make benchmark suffixes "/gcc" not "_gcc".
This commit is contained in:
1 parent
9e59fd1202
commit
84b3e6e5c2
1 file changed
+2
-2
@@ -53,10 +53,10 @@ void bench_finish(uint64_t reps, uint64_t n_bytes) {
|
||||
}
|
||||
uint64_t kb_per_s = n_bytes * 1000000 / nanos;
|
||||
if (bench_warm_up) {
|
||||
printf("# (warm up) %s_%s\t%8" PRIu64 ".%06" PRIu64 " seconds\n",
|
||||
printf("# (warm up) %s/%s\t%8" PRIu64 ".%06" PRIu64 " seconds\n",
|
||||
proc_funcname, cc, nanos / 1000000000, (nanos % 1000000000) / 1000);
|
||||
} else {
|
||||
printf("Benchmark%s_%s\t%8" PRIu64 "\t%8" PRIu64 " ns/op\t%8d.%03d MB/s\n",
|
||||
printf("Benchmark%s/%s\t%8" PRIu64 "\t%8" PRIu64 " ns/op\t%8d.%03d MB/s\n",
|
||||
proc_funcname, cc, reps, nanos / reps, (int)(kb_per_s / 1000),
|
||||
(int)(kb_per_s % 1000));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user