diff options
author | Chris Mason <clm@fb.com> | 2020-06-19 09:57:46 -0700 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2020-06-19 09:57:46 -0700 |
commit | 0e0942707dc381f3e7d4187572e4f6a997544906 (patch) | |
tree | 097b787fb038c4153c9fb9d6e7bb56f4f94426d9 | |
parent | 206dc1c7fb6e0bfddaa9994511eee4be4d749a79 (diff) | |
download | simoop-0e0942707dc381f3e7d4187572e4f6a997544906.tar.gz |
simoop: print max latencies
Signed-off-by: Chris Mason <clm@fb.com>
-rw-r--r-- | simoop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1798,8 +1798,8 @@ static void collect_stats(struct stats *dest, struct thread_data *worker_threads for (i = 0; i < TOTAL_STATS; i++) { unsigned int p50 = 0, p95 = 0, p99 = 0; calc_p99(&dest[i], &p50, &p95, &p99); - printf("%s usec: (p50: %'d) (p95: %'d) (p99: %'d)\n", - stat_labels[i], p50, p95, p99); + printf("%s usec: (p50: %'d) (p95: %'d) (p99: %'d) (max: %'d)\n", + stat_labels[i], p50, p95, p99, dest[i].max); } } |