From: Christian Grothoff Date: Fri, 18 Feb 2011 21:47:10 +0000 (+0000) Subject: gaugering X-Git-Tag: initial-import-from-subversion-38251~19096 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c18cf09343b3c8a18781a04db4b9a6f41e2fdbf8;p=oweals%2Fgnunet.git gaugering --- 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)) {