From: Julius Bünger Date: Fri, 22 Feb 2019 12:21:47 +0000 (+0100) Subject: RPS profiler: Log index of peer X-Git-Tag: v0.11.0~63^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b9e8e6baa53d021e2ba16b2cba673418a2dffa93;p=oweals%2Fgnunet.git RPS profiler: Log index of peer --- 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) {