summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2013-01-24 08:10:12 -0800
committerAndrea Shepard <andrea@torproject.org>2013-01-24 08:10:12 -0800
commitdfbd19df418347d833df650e68367c96a3aa37ad (patch)
tree32962e1f966839748b7ecb83f87deb69b5cc8399 /src/or/main.c
parentb415aba5fa3b52aabd250007a6f6304ee7825cbb (diff)
parent677d18278e5b27a43f3f56906d97a9575d26c6f4 (diff)
downloadtor-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.c3
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