gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: benchmark: collect total ti


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: benchmark: collect total time of all crypto ops
Date: Thu, 27 Sep 2018 14:28:59 +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 2cdcca273 benchmark: collect total time of all crypto ops
2cdcca273 is described below

commit 2cdcca273ebad5fcd5ef6f89c7f0e7da4e894499
Author: Florian Dold <address@hidden>
AuthorDate: Thu Sep 27 14:27:26 2018 +0200

    benchmark: collect total time of all crypto ops
---
 contrib/benchmark/collect.awk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/benchmark/collect.awk b/contrib/benchmark/collect.awk
index b1e5977fd..39bbdf5ac 100644
--- a/contrib/benchmark/collect.awk
+++ b/contrib/benchmark/collect.awk
@@ -40,6 +40,7 @@ function abs(v) {
     if (n > 0) {
       op[$2]["time_us_sq"] += n * (t/n) * (t/n);
     }
+    total_ops += t;
   } else if ($1 == "url") {
     n = $6;
     t = $8;
@@ -84,4 +85,7 @@ END {
             "time_us_max", url[x][y]["time_us_max"];
     }
   }
+  if (total_ops) {
+    print "total_ops_ms", total_ops;
+  }
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]