From: Erwan Velu Date: Wed, 2 Apr 2014 08:36:40 +0000 (+0200) Subject: stat: fixing bw_agg reporting X-Git-Tag: fio-2.1.8~25^2~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=a806bf2e054ca389a56130849a4394ac9d4334b6;p=fio.git stat: fixing bw_agg reporting It was wrongly set to the mean value instead of the agg one. --- diff --git a/stat.c b/stat.c index f84ce530..d6169234 100644 --- a/stat.c +++ b/stat.c @@ -769,7 +769,7 @@ static void add_ddir_status_json(struct thread_stat *ts, } json_object_add_value_int(dir_object, "bw_min", min); json_object_add_value_int(dir_object, "bw_max", max); - json_object_add_value_float(dir_object, "bw_agg", mean); + json_object_add_value_float(dir_object, "bw_agg", p_of_agg); json_object_add_value_float(dir_object, "bw_mean", mean); json_object_add_value_float(dir_object, "bw_dev", dev); }