diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-11-01 18:16:44 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-11-01 18:16:44 +0000 |
commit | 5d7ca19b446d6c74501e23ba1d2c27f7202b1e99 (patch) | |
tree | dc761a949590e58d25fed297d135800181678eaf /src/or/main.c | |
parent | c195b8f80664158f7093c2b52f8aa217a01d2f27 (diff) | |
download | tor-5d7ca19b446d6c74501e23ba1d2c27f7202b1e99.tar tor-5d7ca19b446d6c74501e23ba1d2c27f7202b1e99.tar.gz |
r9465@auth3-479: nickm | 2006-11-01 13:16:21 -0500
Add some temporary code to count how many *distinct* router digests we verify. (I have a sneaking suspicion that the numbers look way way high.)
svn:r8890
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 7c9975ea4..c8b3ef232 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1333,6 +1333,7 @@ extern uint64_t buf_total_used; extern uint64_t buf_total_alloc; extern uint64_t rephist_total_alloc; extern uint32_t rephist_total_num; +void dump_distinct_digests_xx(int severity); // xxxx0124 remove /** * Write current memory usage information to the log. @@ -1436,6 +1437,7 @@ dumpstats(int severity) rep_hist_dump_stats(now,severity); rend_service_dump_stats(severity); dump_pk_ops(severity); + dump_distinct_digests_xx(severity); } /** Called by exit() as we shut down the process. |