stat: fix comment about memory consumption
authorVincent Fu <vincent.fu@samsung.com>
Mon, 12 Sep 2022 14:43:17 +0000 (10:43 -0400)
committerVincent Fu <vincent.fu@samsung.com>
Mon, 12 Sep 2022 14:45:56 +0000 (10:45 -0400)
We changed from unsigned int to uint64_t for the latency frequency
counters. Reflect this in the comment describing how much memory the
latency frequency counters require.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
stat.h

diff --git a/stat.h b/stat.h
index eb7845afec27e0dbdd0ac344ace3c756c069f7fe..4c3bf71f3b92cbbb849c26468a650036ae7bc872 100644 (file)
--- a/stat.h
+++ b/stat.h
@@ -51,7 +51,7 @@ struct group_run_stats {
  *
  * FIO_IO_U_PLAT_GROUP_NR and FIO_IO_U_PLAT_BITS determine the memory
  * requirement of storing those aggregate counts. The memory used will
- * be (FIO_IO_U_PLAT_GROUP_NR * 2^FIO_IO_U_PLAT_BITS) * sizeof(int)
+ * be (FIO_IO_U_PLAT_GROUP_NR * 2^FIO_IO_U_PLAT_BITS) * sizeof(uint64_t)
  * bytes.
  *
  * FIO_IO_U_PLAT_NR is the total number of buckets.