From 35aa95c25f82f0f23d67859a13f781b5dce20fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Thu, 4 May 2017 16:26:19 +0200 Subject: [PATCH] perf_counter.c: mention that the latency buckets are in us --- src/modules/systemlib/perf_counter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/systemlib/perf_counter.c b/src/modules/systemlib/perf_counter.c index e094409304..a29cabb9c2 100644 --- a/src/modules/systemlib/perf_counter.c +++ b/src/modules/systemlib/perf_counter.c @@ -605,10 +605,10 @@ extern const uint16_t latency_buckets[]; void perf_print_latency(int fd) { - dprintf(fd, "bucket : events\n"); + dprintf(fd, "bucket [us] : events\n"); for (int i = 0; i < latency_bucket_count; i++) { - printf(" %4i : %li\n", latency_buckets[i], (long int)latency_counters[i]); + printf(" %4i : %li\n", latency_buckets[i], (long int)latency_counters[i]); } // print the overflow bucket value