[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/03: RPS profiler: Log index of peer
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/03: RPS profiler: Log index of peer |
Date: |
Fri, 22 Feb 2019 22:14:26 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet.
commit b9e8e6baa53d021e2ba16b2cba673418a2dffa93
Author: Julius Bünger <address@hidden>
AuthorDate: Fri Feb 22 13:21:47 2019 +0100
RPS profiler: Log index of peer
---
src/rps/gnunet-rps-profiler.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c
index 937a4363b..98fc8dccb 100644
--- a/src/rps/gnunet-rps-profiler.c
+++ b/src/rps/gnunet-rps-profiler.c
@@ -2636,9 +2636,11 @@ stat_iterator (void *cls,
(void) subsystem;
(void) is_persistent;
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got stat value: %s - %" PRIu64 "\n",
- name,
- value);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Got stat value: %s - %" PRIu64 " (%u)\n",
+ name,
+ value,
+ rps_peer->index);
to_file (rps_peer->file_name_stats,
"%s: %" PRIu64 "\n",
name,
@@ -2650,7 +2652,9 @@ stat_iterator (void *cls,
return GNUNET_OK;
}
-void post_profiler (struct RPSPeer *rps_peer)
+
+void
+post_profiler (struct RPSPeer *rps_peer)
{
if (COLLECT_STATISTICS != cur_test_run.have_collect_statistics)
{
--
To stop receiving notification emails like this one, please contact
address@hidden