summaryrefslogtreecommitdiff
path: root/src/or/cpuworker.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-01-03 13:20:20 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-03 13:20:20 -0500
commit30e139389bd8301f62ee24481d0f5484544fc5de (patch)
tree30cb3ade556412b228c9cf6bf4d6f0dcba55258b /src/or/cpuworker.h
parentb9fb01721a38c2b850f7a0120adc621a9d34b772 (diff)
downloadtor-30e139389bd8301f62ee24481d0f5484544fc5de.tar.gz
tor-30e139389bd8301f62ee24481d0f5484544fc5de.zip
Record and report the overhead of how we handle onionskins.
Diffstat (limited to 'src/or/cpuworker.h')
-rw-r--r--src/or/cpuworker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/cpuworker.h b/src/or/cpuworker.h
index df6917237e..2da0249b96 100644
--- a/src/or/cpuworker.h
+++ b/src/or/cpuworker.h
@@ -24,6 +24,8 @@ int assign_onionskin_to_cpuworker(connection_t *cpuworker,
uint64_t estimated_usec_for_onionskins(uint32_t n_requests,
uint16_t onionskin_type);
+void cpuworker_log_onionskin_overhead(int severity, int onionskin_type,
+ const char *onionskin_type_name);
#endif