From 53c82bb879532b994451c6abc7be80c94241d03b Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Mon, 12 Sep 2022 10:43:17 -0400 Subject: [PATCH] stat: fix comment about memory consumption 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 --- stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stat.h b/stat.h index eb7845af..4c3bf71f 100644 --- 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. -- 2.25.1