gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: fix rps profiler: mark oper


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix rps profiler: mark operation as done on shutdown
Date: Thu, 05 Jul 2018 17:11:42 +0200

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

julius-buenger pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 79b600acf fix rps profiler: mark operation as done on shutdown
79b600acf is described below

commit 79b600acfc7cbcd20cdaac04be7716c8c893ac4e
Author: Julius Bünger <address@hidden>
AuthorDate: Thu Jul 5 17:09:06 2018 +0200

    fix rps profiler: mark operation as done on shutdown
---
 src/rps/gnunet-rps-profiler.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c
index ec73f1803..dcd72aef1 100644
--- a/src/rps/gnunet-rps-profiler.c
+++ b/src/rps/gnunet-rps-profiler.c
@@ -905,6 +905,7 @@ shutdown_op (void *cls)
     if (NULL != rps_peers[i].op)
     {
       GNUNET_TESTBED_operation_done (rps_peers[i].op);
+      rps_peers[i].op = NULL;
     }
   }
 }
@@ -2263,12 +2264,6 @@ void write_final_stats (void){
          stat_type < STAT_TYPE_MAX;
          stat_type++)
     {
-      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                 "Add to sum (%" PRIu64 ") %" PRIu64 " of stat type %u - %s\n",
-                  sums[stat_type],
-                  rps_peers[i].stats[stat_type],
-                  stat_type,
-                  stat_type_2_str (stat_type));
       sums[stat_type] += rps_peers[i].stats[stat_type];
     }
   }

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



reply via email to

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