diff options
Diffstat (limited to 'src/transport/test_transport_api_unreliability.c')
-rw-r--r-- | src/transport/test_transport_api_unreliability.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/transport/test_transport_api_unreliability.c b/src/transport/test_transport_api_unreliability.c index 62c9a5683..1c0c3db2c 100644 --- a/src/transport/test_transport_api_unreliability.c +++ b/src/transport/test_transport_api_unreliability.c | |||
@@ -186,8 +186,8 @@ end () | |||
186 | "Transports disconnected, returning success!\n"); | 186 | "Transports disconnected, returning success!\n"); |
187 | #endif | 187 | #endif |
188 | delta = GNUNET_TIME_absolute_get_duration (start_time).rel_value; | 188 | delta = GNUNET_TIME_absolute_get_duration (start_time).rel_value; |
189 | GNUNET_asprintf(&value_name, "unreliable_%s", test_name); | 189 | GNUNET_asprintf(&value_name, "TRANSPORT:unreliable_%s", test_name); |
190 | GAUGER (value_name, (int)(total_bytes * 1000 / 1024 /delta), "kbs"); | 190 | GAUGER (value_name, (int)(total_bytes * 1000 / 1024 /delta), "kb/s"); |
191 | GNUNET_free(value_name); | 191 | GNUNET_free(value_name); |
192 | fprintf (stderr, | 192 | fprintf (stderr, |
193 | "\nThroughput was %llu kb/s\n", | 193 | "\nThroughput was %llu kb/s\n", |
@@ -227,11 +227,11 @@ end_unreliably () | |||
227 | fprintf (stderr, | 227 | fprintf (stderr, |
228 | "\nThroughput was %llu kb/s\n", | 228 | "\nThroughput was %llu kb/s\n", |
229 | total_bytes * 1000 / 1024 / delta); | 229 | total_bytes * 1000 / 1024 / delta); |
230 | GNUNET_asprintf(&value_name, "unreliable_%s", test_name); | 230 | GNUNET_asprintf(&value_name, "TRANSPORT:unreliable_%s", test_name); |
231 | GAUGER (value_name, (int)(total_bytes * 1000 / 1024 /delta), "kbs"); | 231 | GAUGER (value_name, (int)(total_bytes * 1000 / 1024 /delta), "kb/s"); |
232 | GNUNET_free(value_name); | 232 | GNUNET_free(value_name); |
233 | GNUNET_asprintf(&value_name, "unreliable_failed_%s", test_name); | 233 | GNUNET_asprintf(&value_name, "TRANSPORT:unreliable_failed_%s", test_name); |
234 | GAUGER (value_name, (int)num_failed, "count"); | 234 | GAUGER (value_name, (int)num_failed, "msgs"); |
235 | GNUNET_free(value_name); | 235 | GNUNET_free(value_name); |
236 | GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Had %d failed messages!\n", num_failed); | 236 | GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Had %d failed messages!\n", num_failed); |
237 | ok = 0; | 237 | ok = 0; |