From: Florian Dold Date: Thu, 27 Sep 2018 13:28:30 +0000 (+0200) Subject: benchmark: there is just one adjusted total X-Git-Tag: v0.11.0~241^2~21^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b5e2fc08571dd50208f485476f3072427e3916e9;p=oweals%2Fgnunet.git benchmark: there is just one adjusted total --- diff --git a/contrib/benchmark/collect.awk b/contrib/benchmark/collect.awk index b88b3dc7d..5afa093e2 100644 --- a/contrib/benchmark/collect.awk +++ b/contrib/benchmark/collect.awk @@ -103,10 +103,8 @@ END { if (have_baseline) { for (x in op) { - total_ops_adjusted[x] = op_baseline[x] * op[x]["count"]; - } - for (x in op) { - print "total_ops_adjusted_ms", total_ops_adjusted[x]; + total_ops_adjusted += op_baseline[x] * op[x]["count"]; } + print "total_ops_adjusted_ms", total_ops_adjusted; } }