diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-11 21:21:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-11 21:21:56 +0000 |
commit | 3d7fefedc9ba60bd8e8448efe8b628446d958536 (patch) | |
tree | 61ce41a52cd6e7232cead77818ef265993b2427e /src/arm/gnunet-arm.c | |
parent | 4a0398474db197abed243a123fb971fbeeffab4b (diff) | |
download | gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.tar.gz gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.zip |
changing time measurement from milliseconds to microseconds
Diffstat (limited to 'src/arm/gnunet-arm.c')
-rw-r--r-- | src/arm/gnunet-arm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/arm/gnunet-arm.c b/src/arm/gnunet-arm.c index 4a68a97ea..85cb1f45d 100644 --- a/src/arm/gnunet-arm.c +++ b/src/arm/gnunet-arm.c | |||
@@ -547,7 +547,7 @@ action_loop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
547 | { | 547 | { |
548 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Termination action\n"); | 548 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Termination action\n"); |
549 | GNUNET_ARM_request_service_stop (h, term, | 549 | GNUNET_ARM_request_service_stop (h, term, |
550 | (0 == timeout.rel_value) ? STOP_TIMEOUT : timeout, | 550 | (0 == timeout.rel_value_us) ? STOP_TIMEOUT : timeout, |
551 | &term_callback, NULL); | 551 | &term_callback, NULL); |
552 | return; | 552 | return; |
553 | } | 553 | } |
@@ -557,7 +557,7 @@ action_loop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
557 | { | 557 | { |
558 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "End action\n"); | 558 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "End action\n"); |
559 | GNUNET_ARM_request_service_stop (h, "arm", | 559 | GNUNET_ARM_request_service_stop (h, "arm", |
560 | (0 == timeout.rel_value) ? STOP_TIMEOUT_ARM : timeout, | 560 | (0 == timeout.rel_value_us) ? STOP_TIMEOUT_ARM : timeout, |
561 | &stop_callback, NULL); | 561 | &stop_callback, NULL); |
562 | return; | 562 | return; |
563 | } | 563 | } |
@@ -569,7 +569,7 @@ action_loop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
569 | GNUNET_ARM_request_service_start (h, "arm", | 569 | GNUNET_ARM_request_service_start (h, "arm", |
570 | (no_stdout ? 0 : GNUNET_OS_INHERIT_STD_OUT) | | 570 | (no_stdout ? 0 : GNUNET_OS_INHERIT_STD_OUT) | |
571 | (no_stderr ? 0 : GNUNET_OS_INHERIT_STD_ERR), | 571 | (no_stderr ? 0 : GNUNET_OS_INHERIT_STD_ERR), |
572 | (0 == timeout.rel_value) ? START_TIMEOUT: timeout, | 572 | (0 == timeout.rel_value_us) ? START_TIMEOUT: timeout, |
573 | start_callback, NULL); | 573 | start_callback, NULL); |
574 | return; | 574 | return; |
575 | } | 575 | } |
@@ -579,7 +579,7 @@ action_loop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
579 | { | 579 | { |
580 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Initialization action\n"); | 580 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Initialization action\n"); |
581 | GNUNET_ARM_request_service_start (h, init, GNUNET_OS_INHERIT_STD_NONE, | 581 | GNUNET_ARM_request_service_start (h, init, GNUNET_OS_INHERIT_STD_NONE, |
582 | (0 == timeout.rel_value) ? STOP_TIMEOUT : timeout, | 582 | (0 == timeout.rel_value_us) ? STOP_TIMEOUT : timeout, |
583 | &init_callback, NULL); | 583 | &init_callback, NULL); |
584 | return; | 584 | return; |
585 | } | 585 | } |
@@ -590,7 +590,7 @@ action_loop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
590 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 590 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
591 | "Going to list all running services controlled by ARM.\n"); | 591 | "Going to list all running services controlled by ARM.\n"); |
592 | GNUNET_ARM_request_service_list (h, | 592 | GNUNET_ARM_request_service_list (h, |
593 | (0 == timeout.rel_value) ? LIST_TIMEOUT : timeout, | 593 | (0 == timeout.rel_value_us) ? LIST_TIMEOUT : timeout, |
594 | &list_callback, &list); | 594 | &list_callback, &list); |
595 | return; | 595 | return; |
596 | } | 596 | } |