diff options
author | Keuin <[email protected]> | 2022-05-29 01:18:24 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-05-29 02:30:36 +0800 |
commit | f0d6585bb2d8a13d7886d28a6545caa0457b4ca0 (patch) | |
tree | cb2f50dd057f00b74cff64affa3880c4c7e5e757 /main.c | |
parent | 86a701d3af323dcffe17b07e772e6be77c561dd8 (diff) |
Prettier benchmark result.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -292,7 +292,7 @@ void benchmark() { const int threads[] = {1, 2, 4, 8, 16, 32, 0}; for (int i = 0; threads[i] > 0; ++i) { - printf(" %d thread: %.3f sec%s\n", + printf(" %3.d thread: %9.3f sec%s\n", threads[i], (double) KEYSPACE_SIZE / key_per_sec / threads[i], (threads[i] != 1) ? " (estimate)" : ""); } |