From: Vincent Fu Date: Mon, 12 Sep 2022 14:43:17 +0000 (-0400) Subject: stat: fix comment about memory consumption X-Git-Tag: fio-3.33~42 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=53c82bb879532b994451c6abc7be80c94241d03b;p=fio.git 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 --- 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.