#include "platform.h"
#include "gnunet_util_lib.h"
#include "gnunet_mesh_service.h"
-#include "gnunet_testing_lib-new.h"
+#include "gnunet_testing_lib.h"
#include <gauger.h>
#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5)
FPRINTF (stderr, "\nTest time %llu ms\n",
(unsigned long long) total_time.rel_value);
FPRINTF (stderr, "Test payload bandwidth: %f kb/s\n",
- 4 * 1000.0 / total_time.rel_value); // 4bytes * ms
+ total_traffic * 4.0 / total_time.rel_value); // 4bytes * kb/ms
FPRINTF (stderr, "Test throughput: %f packets/s\n\n",
total_traffic * 1000.0 / total_time.rel_value); // 1000 packets * ms
GAUGER ("MESH",