[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: benchmark: collect max
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: benchmark: collect max |
Date: |
Wed, 26 Sep 2018 15:37:10 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new e67f1331d benchmark: collect max
e67f1331d is described below
commit e67f1331d12caef3731a41700deb89bd44f1cf3d
Author: Florian Dold <address@hidden>
AuthorDate: Wed Sep 26 15:35:33 2018 +0200
benchmark: collect max
---
contrib/benchmark/collect.awk | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/contrib/benchmark/collect.awk b/contrib/benchmark/collect.awk
index 159e4897a..c4de209f9 100644
--- a/contrib/benchmark/collect.awk
+++ b/contrib/benchmark/collect.awk
@@ -24,7 +24,7 @@
# records are of the following forms:
# op <op> count <count> time_us <time_us>
-# url <url> status <status> count <count> time_us <time_us>
+# url <url> status <status> count <count> time_us <time_us> time_us_max
<time_us_max>
function abs(v) {
@@ -48,6 +48,8 @@ function abs(v) {
if (n > 0) {
url[$2][$4]["time_us_sq"] += n * (t/n) * (t/n);
}
+ max = url[$2][$4]["time_us_max];
+ url[$2][$4]["time_us_max] = (t > max ? t : max)
}
}
@@ -78,7 +80,8 @@ END {
print "url", x, "status", y, \
"count", url[x][y]["count"], "time_us", url[x][y]["time_us"], \
"time_avg_us", avg(url[x][y]["time_us"], url[x][y]["count"]), \
- "stdev", stdev(url[x][y]["time_us"], url[x][y]["time_us_sq"],
url[x][y]["count"]);
+ "stdev", stdev(url[x][y]["time_us"], url[x][y]["time_us_sq"],
url[x][y]["count"]), \
+ "time_us_max", url[x][y]["time_us_max"];
}
}
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: benchmark: collect max,
gnunet <=