From 30e139389bd8301f62ee24481d0f5484544fc5de Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 3 Jan 2013 13:20:20 -0500 Subject: Record and report the overhead of how we handle onionskins. --- src/or/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/or/main.c') diff --git a/src/or/main.c b/src/or/main.c index abb1e34fcd..3745ccb8ce 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 -- cgit v1.2.3-54-g00ecf