summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2020-06-19 09:57:46 -0700
committerChris Mason <clm@fb.com>2020-06-19 09:57:46 -0700
commit0e0942707dc381f3e7d4187572e4f6a997544906 (patch)
tree097b787fb038c4153c9fb9d6e7bb56f4f94426d9
parent206dc1c7fb6e0bfddaa9994511eee4be4d749a79 (diff)
downloadsimoop-0e0942707dc381f3e7d4187572e4f6a997544906.tar.gz
simoop: print max latencies
Signed-off-by: Chris Mason <clm@fb.com>
-rw-r--r--simoop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/simoop.c b/simoop.c
index 664c831..0a5dbd9 100644
--- a/simoop.c
+++ b/simoop.c
@@ -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);
}
}