aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_reliability.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-11 21:21:56 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-11 21:21:56 +0000
commit3d7fefedc9ba60bd8e8448efe8b628446d958536 (patch)
tree61ce41a52cd6e7232cead77818ef265993b2427e /src/core/test_core_api_reliability.c
parent4a0398474db197abed243a123fb971fbeeffab4b (diff)
downloadgnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.tar.gz
gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.zip
changing time measurement from milliseconds to microseconds
Diffstat (limited to 'src/core/test_core_api_reliability.c')
-rw-r--r--src/core/test_core_api_reliability.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c
index 149a49225..29f39585e 100644
--- a/src/core/test_core_api_reliability.c
+++ b/src/core/test_core_api_reliability.c
@@ -127,10 +127,10 @@ terminate_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
127 p1.th = NULL; 127 p1.th = NULL;
128 GNUNET_TRANSPORT_disconnect (p2.th); 128 GNUNET_TRANSPORT_disconnect (p2.th);
129 p2.th = NULL; 129 p2.th = NULL;
130 delta = GNUNET_TIME_absolute_get_duration (start_time).rel_value; 130 delta = GNUNET_TIME_absolute_get_duration (start_time).rel_value_us;
131 FPRINTF (stderr, "\nThroughput was %llu kb/s\n", 131 FPRINTF (stderr, "\nThroughput was %llu kb/s\n",
132 total_bytes * 1000 / 1024 / delta); 132 total_bytes * 1000000LL / 1024 / delta);
133 GAUGER ("CORE", "Core throughput/s", total_bytes * 1000 / 1024 / delta, 133 GAUGER ("CORE", "Core throughput/s", total_bytes * 1000000LL / 1024 / delta,
134 "kb/s"); 134 "kb/s");
135 ok = 0; 135 ok = 0;
136} 136}