diff options
author | Roger Dingledine <arma@torproject.org> | 2005-07-18 06:09:04 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-07-18 06:09:04 +0000 |
commit | e8a1b1d6a09b38671efcdb20c317f631f4d2810c (patch) | |
tree | 7308600b9e45e2132a0d149e96d2c9d2e0349942 /src/or/main.c | |
parent | e573b3f7db184296093158c28daaeb4b454c6f00 (diff) | |
download | tor-e8a1b1d6a09b38671efcdb20c317f631f4d2810c.tar tor-e8a1b1d6a09b38671efcdb20c317f631f4d2810c.tar.gz |
add a trivial tor-counting variable
svn:r4593
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index b6b3f8f6a..7c9e2029e 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1132,12 +1132,13 @@ dumpmemusage(int severity) extern uint64_t buf_total_used; extern uint64_t buf_total_alloc; extern uint64_t rephist_total_alloc; + extern uint32_t rephist_total_num; log(severity, "In buffers: "U64_FORMAT" used/"U64_FORMAT" allocated (%d conns).", U64_PRINTF_ARG(buf_total_used), U64_PRINTF_ARG(buf_total_alloc), nfds); - log(severity, "In rephist: "U64_FORMAT" used.", - U64_PRINTF_ARG(rephist_total_alloc)); + log(severity, "In rephist: "U64_FORMAT" used by %d Tors.", + U64_PRINTF_ARG(rephist_total_alloc), rephist_total_num); } /** Write all statistics to the log, with log level 'severity'. Called |