aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_quota_compliance.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-21 18:29:03 +0000
committerChristian Grothoff <christian@grothoff.org>2016-06-21 18:29:03 +0000
commit3d7b29ec1c5d1c2de96cf4c9badaa112e86ef899 (patch)
treeb586e13615fe58377cef5c0a238a677e5fd8f609 /src/core/test_core_quota_compliance.c
parent1732154b8c021e7ee0e34c28cf3b1a843454727a (diff)
downloadgnunet-3d7b29ec1c5d1c2de96cf4c9badaa112e86ef899.tar.gz
gnunet-3d7b29ec1c5d1c2de96cf4c9badaa112e86ef899.zip
update statistics API to use new MQ API style, also get rid of timeout argument
Diffstat (limited to 'src/core/test_core_quota_compliance.c')
-rw-r--r--src/core/test_core_quota_compliance.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c
index 59a3e8a7f..05b1ae3d9 100644
--- a/src/core/test_core_quota_compliance.c
+++ b/src/core/test_core_quota_compliance.c
@@ -242,29 +242,29 @@ measurement_stop (void *cls)
242 else 242 else
243 ok = 0; /* pass */ 243 ok = 0; /* pass */
244 GNUNET_STATISTICS_get (p1.stats, "core", "# discarded CORE_SEND requests", 244 GNUNET_STATISTICS_get (p1.stats, "core", "# discarded CORE_SEND requests",
245 GNUNET_TIME_UNIT_FOREVER_REL, NULL, &print_stat, &p1); 245 NULL, &print_stat, &p1);
246 246
247 GNUNET_STATISTICS_get (p1.stats, "core", 247 GNUNET_STATISTICS_get (p1.stats, "core",
248 "# discarded CORE_SEND request bytes", 248 "# discarded CORE_SEND request bytes",
249 GNUNET_TIME_UNIT_FOREVER_REL, NULL, &print_stat, &p1); 249 NULL, &print_stat, &p1);
250 GNUNET_STATISTICS_get (p1.stats, "core", 250 GNUNET_STATISTICS_get (p1.stats, "core",
251 "# discarded lower priority CORE_SEND requests", 251 "# discarded lower priority CORE_SEND requests",
252 GNUNET_TIME_UNIT_FOREVER_REL, NULL, &print_stat, NULL); 252 NULL, &print_stat, NULL);
253 GNUNET_STATISTICS_get (p1.stats, "core", 253 GNUNET_STATISTICS_get (p1.stats, "core",
254 "# discarded lower priority CORE_SEND request bytes", 254 "# discarded lower priority CORE_SEND request bytes",
255 GNUNET_TIME_UNIT_FOREVER_REL, NULL, &print_stat, &p1); 255 NULL, &print_stat, &p1);
256 GNUNET_STATISTICS_get (p2.stats, "core", "# discarded CORE_SEND requests", 256 GNUNET_STATISTICS_get (p2.stats, "core", "# discarded CORE_SEND requests",
257 GNUNET_TIME_UNIT_FOREVER_REL, NULL, &print_stat, &p2); 257 NULL, &print_stat, &p2);
258 258
259 GNUNET_STATISTICS_get (p2.stats, "core", 259 GNUNET_STATISTICS_get (p2.stats, "core",
260 "# discarded CORE_SEND request bytes", 260 "# discarded CORE_SEND request bytes",
261 GNUNET_TIME_UNIT_FOREVER_REL, NULL, &print_stat, &p2); 261 NULL, &print_stat, &p2);
262 GNUNET_STATISTICS_get (p2.stats, "core", 262 GNUNET_STATISTICS_get (p2.stats, "core",
263 "# discarded lower priority CORE_SEND requests", 263 "# discarded lower priority CORE_SEND requests",
264 GNUNET_TIME_UNIT_FOREVER_REL, NULL, &print_stat, &p2); 264 NULL, &print_stat, &p2);
265 GNUNET_STATISTICS_get (p2.stats, "core", 265 GNUNET_STATISTICS_get (p2.stats, "core",
266 "# discarded lower priority CORE_SEND request bytes", 266 "# discarded lower priority CORE_SEND request bytes",
267 GNUNET_TIME_UNIT_FOREVER_REL, NULL, &print_stat, &p2); 267 NULL, &print_stat, &p2);
268 268
269 if (ok != 0) 269 if (ok != 0)
270 kind = GNUNET_ERROR_TYPE_ERROR; 270 kind = GNUNET_ERROR_TYPE_ERROR;