diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-05 00:17:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-05 00:17:54 -0400 |
commit | 913067f788d84d748d9377bb5563b2a8f88dc483 (patch) | |
tree | c0407004c0a59d852040abfa67ba4fe94321af37 /src/or/relay.c | |
parent | 064e7c19c66a6e8a65e13508c57f3d7c89060112 (diff) | |
download | tor-913067f788d84d748d9377bb5563b2a8f88dc483.tar.gz tor-913067f788d84d748d9377bb5563b2a8f88dc483.zip |
Resolve about 24 DOCDOCs
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index c8dbb2e268..e22ce47b21 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -64,7 +64,7 @@ static struct timeval cached_time_hires = {0, 0}; * cells. */ #define CELL_QUEUE_LOWWATER_SIZE 64 -/* DOCDOC tor_gettimeofday_cached */ +/** Return a fairly recent view of the current time. */ static void tor_gettimeofday_cached(struct timeval *tv) { @@ -74,7 +74,8 @@ tor_gettimeofday_cached(struct timeval *tv) *tv = cached_time_hires; } -/* DOCDOC tor_gettimeofday_cache_clear */ +/** Reset the cached view of the current time, so that the next time we try + * to learn it, we will get an up-to-date value. */ void tor_gettimeofday_cache_clear(void) { @@ -2095,7 +2096,9 @@ static double ewma_scale_factor = 0.1; /* DOCDOC ewma_enabled */ static int ewma_enabled = 0; +/*DOCDOC*/ #define EPSILON 0.00001 +/*DOCDOC*/ #define LOG_ONEHALF -0.69314718055994529 /** Adjust the global cell scale factor based on <b>options</b> */ |