From c18cf09343b3c8a18781a04db4b9a6f41e2fdbf8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 18 Feb 2011 21:47:10 +0000 Subject: [PATCH] gaugering --- src/peerinfo/perf_peerinfo_api.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/peerinfo/perf_peerinfo_api.c b/src/peerinfo/perf_peerinfo_api.c index 4cae7ab60..4f1d28f5c 100755 --- a/src/peerinfo/perf_peerinfo_api.c +++ b/src/peerinfo/perf_peerinfo_api.c @@ -32,6 +32,7 @@ #include "gnunet_program_lib.h" #include "gnunet_time_lib.h" #include "peerinfo.h" +#include #define START_SERVICE 1 @@ -186,6 +187,8 @@ check () "Received %u/%u calls before timeout\n", numpeers, NUM_REQUESTS * NUM_REQUESTS / 2); + GAUGER ("Peerinfo lookups_peers/s", + numpeers/30); #if START_SERVICE if (0 != GNUNET_OS_process_kill (proc, SIGTERM)) { -- 2.25.1