diff options
author | Andrea Shepard <andrea@torproject.org> | 2013-01-24 08:10:12 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2013-01-24 08:10:12 -0800 |
commit | dfbd19df418347d833df650e68367c96a3aa37ad (patch) | |
tree | 32962e1f966839748b7ecb83f87deb69b5cc8399 /src/or/main.c | |
parent | b415aba5fa3b52aabd250007a6f6304ee7825cbb (diff) | |
parent | 677d18278e5b27a43f3f56906d97a9575d26c6f4 (diff) | |
download | tor-dfbd19df418347d833df650e68367c96a3aa37ad.tar.gz tor-dfbd19df418347d833df650e68367c96a3aa37ad.zip |
Merge branch 'time_based_onionqueue_v2' of ssh://git-rw.torproject.org/nickm/tor
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 1dd207a753..3cdfe8acf7 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2202,6 +2202,9 @@ dumpstats(int severity) 100*(U64_TO_DBL(stats_n_data_bytes_received) / U64_TO_DBL(stats_n_data_cells_received*RELAY_PAYLOAD_SIZE)) ); + cpuworker_log_onionskin_overhead(severity, ONION_HANDSHAKE_TYPE_TAP, "TAP"); + cpuworker_log_onionskin_overhead(severity, ONION_HANDSHAKE_TYPE_NTOR,"ntor"); + if (now - time_of_process_start >= 0) elapsed = now - time_of_process_start; else |