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/cpuworker.h | |
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/cpuworker.h')
-rw-r--r-- | src/or/cpuworker.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/cpuworker.h b/src/or/cpuworker.h index 18d45153c7..317cef43ba 100644 --- a/src/or/cpuworker.h +++ b/src/or/cpuworker.h @@ -22,5 +22,10 @@ int assign_onionskin_to_cpuworker(connection_t *cpuworker, or_circuit_t *circ, struct create_cell_t *onionskin); +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 |