diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-02-18 21:47:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-02-18 21:47:10 +0000 |
commit | c18cf09343b3c8a18781a04db4b9a6f41e2fdbf8 (patch) | |
tree | d6e057c6ea678d5961b23d0966708f5aa0120ebd /src/peerinfo | |
parent | 6a3da17e6eb070d0a6d6730e718f689aa646defb (diff) | |
download | gnunet-c18cf09343b3c8a18781a04db4b9a6f41e2fdbf8.tar.gz gnunet-c18cf09343b3c8a18781a04db4b9a6f41e2fdbf8.zip |
gaugering
Diffstat (limited to 'src/peerinfo')
-rwxr-xr-x | src/peerinfo/perf_peerinfo_api.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
32 | #include "gnunet_program_lib.h" | 32 | #include "gnunet_program_lib.h" |
33 | #include "gnunet_time_lib.h" | 33 | #include "gnunet_time_lib.h" |
34 | #include "peerinfo.h" | 34 | #include "peerinfo.h" |
35 | #include <gauger.h> | ||
35 | 36 | ||
36 | #define START_SERVICE 1 | 37 | #define START_SERVICE 1 |
37 | 38 | ||
@@ -186,6 +187,8 @@ check () | |||
186 | "Received %u/%u calls before timeout\n", | 187 | "Received %u/%u calls before timeout\n", |
187 | numpeers, | 188 | numpeers, |
188 | NUM_REQUESTS * NUM_REQUESTS / 2); | 189 | NUM_REQUESTS * NUM_REQUESTS / 2); |
190 | GAUGER ("Peerinfo lookups_peers/s", | ||
191 | numpeers/30); | ||
189 | #if START_SERVICE | 192 | #if START_SERVICE |
190 | if (0 != GNUNET_OS_process_kill (proc, SIGTERM)) | 193 | if (0 != GNUNET_OS_process_kill (proc, SIGTERM)) |
191 | { | 194 | { |