gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: output basic stats even on


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: output basic stats even on 100% failures
Date: Sun, 13 May 2018 19:26:04 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 633132e29 output basic stats even on 100% failures
633132e29 is described below

commit 633132e29e6003aa441e67913ea33d1de9d0d36d
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun May 13 19:26:00 2018 +0200

    output basic stats even on 100% failures
---
 src/gns/gnunet-gns-benchmark.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/gns/gnunet-gns-benchmark.c b/src/gns/gnunet-gns-benchmark.c
index 1ccd2c48c..af5c27c8c 100644
--- a/src/gns/gnunet-gns-benchmark.c
+++ b/src/gns/gnunet-gns-benchmark.c
@@ -336,15 +336,20 @@ do_shutdown (void *cls)
   {
     unsigned int off;
 
+    fprintf (stdout,
+            "Category %u\n",
+            rc);
+    fprintf (stdout,
+            "\tlookups: %u replies: %u failures: %u\n",
+            lookups[rc],
+            replies[rc],
+            failures[rc]);
     if (0 == rp[rc])
       continue;
     qsort (ra[rc],
           rp[rc],
           sizeof (struct Request *),
           &compare_req);
-    fprintf (stdout,
-            "Category %u\n",
-            rc);
     latency_sum[rc] = GNUNET_TIME_relative_divide (latency_sum[rc],
                                                    replies[rc]);
     fprintf (stdout,
@@ -371,11 +376,6 @@ do_shutdown (void *cls)
             "\tquantile(99): %s\n",
             GNUNET_STRINGS_relative_time_to_string (ra[rc][off]->latency,
                                                     GNUNET_YES));
-    fprintf (stdout,
-            "\tlookups: %u replies: %u failures: %u\n",
-            lookups[rc],
-            replies[rc],
-            failures[rc]);
     GNUNET_free (ra[rc]);
   }
   if (NULL != t)

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



reply via email to

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