gaugering
authorChristian Grothoff <christian@grothoff.org>
Fri, 18 Feb 2011 21:44:35 +0000 (21:44 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 18 Feb 2011 21:44:35 +0000 (21:44 +0000)
src/core/test_core_api_reliability.c

index 7eab92b126521cb19f7950f0866b797b9d21628a..c1315aec6a55e93e8f975a450804dd6267c0477a 100644 (file)
@@ -34,6 +34,7 @@
 #include "gnunet_program_lib.h"
 #include "gnunet_scheduler_lib.h"
 #include "gnunet_transport_service.h"
+#include <gauger.h>
 
 #define VERBOSE GNUNET_NO
 
@@ -131,6 +132,8 @@ terminate_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
   fprintf (stderr,
           "\nThroughput was %llu kb/s\n",
           total_bytes * 1000 / 1024 / delta);
+  GAUGER ("Core throughput_kb/s", 
+         total_bytes * 1000 / 1024 / delta);
   ok = 0;
 }