diff options
Diffstat (limited to 'src/cadet/test_cadet_flow.c')
-rw-r--r-- | src/cadet/test_cadet_flow.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cadet/test_cadet_flow.c b/src/cadet/test_cadet_flow.c index 552d0fdb3..87e7b9a03 100644 --- a/src/cadet/test_cadet_flow.c +++ b/src/cadet/test_cadet_flow.c | |||
@@ -216,16 +216,16 @@ show_end_data (void) | |||
216 | 216 | ||
217 | end_time = GNUNET_TIME_absolute_get (); | 217 | end_time = GNUNET_TIME_absolute_get (); |
218 | total_time = GNUNET_TIME_absolute_get_difference (start_time, end_time); | 218 | total_time = GNUNET_TIME_absolute_get_difference (start_time, end_time); |
219 | FPRINTF (stderr, | 219 | fprintf (stderr, |
220 | "\nResults of test \"%s\"\n", | 220 | "\nResults of test \"%s\"\n", |
221 | test_name); | 221 | test_name); |
222 | FPRINTF (stderr, | 222 | fprintf (stderr, |
223 | "Test time %s\n", | 223 | "Test time %s\n", |
224 | GNUNET_STRINGS_relative_time_to_string (total_time, GNUNET_YES)); | 224 | GNUNET_STRINGS_relative_time_to_string (total_time, GNUNET_YES)); |
225 | FPRINTF (stderr, | 225 | fprintf (stderr, |
226 | "Test bandwidth: %f kb/s\n", | 226 | "Test bandwidth: %f kb/s\n", |
227 | 4 * total_packets * 1.0 / (total_time.rel_value_us / 1000)); // 4bytes * ms | 227 | 4 * total_packets * 1.0 / (total_time.rel_value_us / 1000)); // 4bytes * ms |
228 | FPRINTF (stderr, | 228 | fprintf (stderr, |
229 | "Test throughput: %f packets/s\n\n", | 229 | "Test throughput: %f packets/s\n\n", |
230 | total_packets * 1000.0 / (total_time.rel_value_us / 1000)); // packets * ms | 230 | total_packets * 1000.0 / (total_time.rel_value_us / 1000)); // packets * ms |
231 | GAUGER ("CADET", | 231 | GAUGER ("CADET", |
@@ -863,7 +863,7 @@ main (int argc, | |||
863 | argc, | 863 | argc, |
864 | argv)) | 864 | argv)) |
865 | { | 865 | { |
866 | FPRINTF (stderr, | 866 | fprintf (stderr, |
867 | "test failed: problem with CLI parameters\n"); | 867 | "test failed: problem with CLI parameters\n"); |
868 | return 1; | 868 | return 1; |
869 | } | 869 | } |