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/exit | |
parent | 4a0398474db197abed243a123fb971fbeeffab4b (diff) | |
download | gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.tar.gz gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.zip |
changing time measurement from milliseconds to microseconds
Diffstat (limited to 'src/exit')
-rw-r--r-- | src/exit/gnunet-daemon-exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c index 358e07434..4e15f3db4 100644 --- a/src/exit/gnunet-daemon-exit.c +++ b/src/exit/gnunet-daemon-exit.c | |||
@@ -674,7 +674,7 @@ get_redirect_state (int af, | |||
674 | if (NULL == state_key) | 674 | if (NULL == state_key) |
675 | GNUNET_CONTAINER_heap_update_cost (connections_heap, | 675 | GNUNET_CONTAINER_heap_update_cost (connections_heap, |
676 | state->specifics.tcp_udp.heap_node, | 676 | state->specifics.tcp_udp.heap_node, |
677 | GNUNET_TIME_absolute_get ().abs_value); | 677 | GNUNET_TIME_absolute_get ().abs_value_us); |
678 | return state; | 678 | return state; |
679 | } | 679 | } |
680 | 680 | ||
@@ -1497,7 +1497,7 @@ setup_state_record (struct TunnelState *state) | |||
1497 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); | 1497 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); |
1498 | state->specifics.tcp_udp.heap_node = GNUNET_CONTAINER_heap_insert (connections_heap, | 1498 | state->specifics.tcp_udp.heap_node = GNUNET_CONTAINER_heap_insert (connections_heap, |
1499 | state, | 1499 | state, |
1500 | GNUNET_TIME_absolute_get ().abs_value); | 1500 | GNUNET_TIME_absolute_get ().abs_value_us); |
1501 | while (GNUNET_CONTAINER_heap_get_size (connections_heap) > max_connections) | 1501 | while (GNUNET_CONTAINER_heap_get_size (connections_heap) > max_connections) |
1502 | { | 1502 | { |
1503 | s = GNUNET_CONTAINER_heap_remove_root (connections_heap); | 1503 | s = GNUNET_CONTAINER_heap_remove_root (connections_heap); |