diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-10-02 03:55:17 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-10-02 03:55:17 +0000 |
commit | 343aae5699583ab2fb7108776a64acc2f94dda2a (patch) | |
tree | c9c5f1d7f00c6da7f4ceedc3e0a47bc45f2ba2c0 /src/transport | |
parent | 893349d3cb8e86e2a8ce8cc161670d5948500f67 (diff) | |
download | gnunet-343aae5699583ab2fb7108776a64acc2f94dda2a.tar.gz gnunet-343aae5699583ab2fb7108776a64acc2f94dda2a.zip |
fix
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/test_transport_api_unreliability_constant.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/test_transport_api_unreliability_constant.c b/src/transport/test_transport_api_unreliability_constant.c index 0aa42cba8..cd5c2ce24 100644 --- a/src/transport/test_transport_api_unreliability_constant.c +++ b/src/transport/test_transport_api_unreliability_constant.c | |||
@@ -126,9 +126,9 @@ end () | |||
126 | 126 | ||
127 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Stopping peers\n"); | 127 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Stopping peers\n"); |
128 | 128 | ||
129 | delta = GNUNET_TIME_absolute_get_duration (start_time).rel_value_us; | 129 | delta = GNUNET_TIME_absolute_get_duration (start_time).rel_value_us / (1000 * 1000); |
130 | FPRINTF (stderr, "\nThroughput was %llu kb/s\n", | 130 | FPRINTF (stderr, "\nThroughput was %llu kb/s total_bytes\n", |
131 | total_bytes / 1024 / delta); | 131 | (total_bytes / 1024) / delta); |
132 | GNUNET_asprintf (&value_name, "unreliable_%s", test_plugin); | 132 | GNUNET_asprintf (&value_name, "unreliable_%s", test_plugin); |
133 | GAUGER ("TRANSPORT", value_name, (int) (total_bytes / 1024 / delta), | 133 | GAUGER ("TRANSPORT", value_name, (int) (total_bytes / 1024 / delta), |
134 | "kb/s"); | 134 | "kb/s"); |