aboutsummaryrefslogtreecommitdiff
path: root/src/arm/test_exponential_backoff.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/arm/test_exponential_backoff.c
parent4a0398474db197abed243a123fb971fbeeffab4b (diff)
downloadgnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.tar.gz
gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.zip
changing time measurement from milliseconds to microseconds
Diffstat (limited to 'src/arm/test_exponential_backoff.c')
-rw-r--r--src/arm/test_exponential_backoff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arm/test_exponential_backoff.c b/src/arm/test_exponential_backoff.c
index c61bc2eec..7d8d771a2 100644
--- a/src/arm/test_exponential_backoff.c
+++ b/src/arm/test_exponential_backoff.c
@@ -250,7 +250,7 @@ kill_task (void *cbData, const struct GNUNET_SCHEDULER_TaskContext *tc)
250 } 250 }
251 else 251 else
252 { 252 {
253 waitedFor.rel_value = 0; 253 waitedFor.rel_value_us = 0;
254 } 254 }
255 /* Connect to the doNothing task */ 255 /* Connect to the doNothing task */
256 doNothingConnection = GNUNET_CLIENT_connect ("do-nothing", cfg); 256 doNothingConnection = GNUNET_CLIENT_connect ("do-nothing", cfg);
@@ -261,7 +261,7 @@ kill_task (void *cbData, const struct GNUNET_SCHEDULER_TaskContext *tc)
261 { 261 {
262 GNUNET_CLIENT_disconnect (doNothingConnection); 262 GNUNET_CLIENT_disconnect (doNothingConnection);
263 GNUNET_ARM_request_service_stop (arm, "do-nothing", TIMEOUT, NULL, NULL); 263 GNUNET_ARM_request_service_stop (arm, "do-nothing", TIMEOUT, NULL, NULL);
264 if (waitedFor_prev.rel_value >= waitedFor.rel_value) 264 if (waitedFor_prev.rel_value_us >= waitedFor.rel_value_us)
265 ok = 9; 265 ok = 9;
266 else 266 else
267 ok = 0; 267 ok = 0;