From db66fd6f7fdf3b073e7a65fd2eeac4be8a8955d3 Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Tue, 13 Aug 2019 09:50:43 +0200 Subject: [PATCH] sadf: Add a comment concerning CPU values displayed in RAW mode Signed-off-by: Sebastien GODARD --- raw_stats.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/raw_stats.c b/raw_stats.c index 035df5d..c42ad98 100644 --- a/raw_stats.c +++ b/raw_stats.c @@ -105,6 +105,11 @@ void pval(unsigned long long valp, unsigned long long valc) /* *************************************************************************** * Display CPU statistics in raw format. + * Note: Values displayed for CPU "all" may slightly differ from those you + * would get if you were displaying them in pr_stats.c:print_cpu_stats(). + * This is because values for CPU "all" are recalculated there as the sum of + * all individual CPU values (done by a call to get_global_cpu_statistics() + * function). * * IN: * @a Activity structure with statistics. -- 2.40.0