diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2010-07-07 14:55:42 +0200 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2010-08-18 13:54:41 +0200 |
commit | db94b7f46ef02d5a1de132a5b746b350f3d066b7 (patch) | |
tree | 8b5dd5963a87c29403b1c28e1a55b23cb13ad247 /src/or/rephist.h | |
parent | 863b6c439e6bfc64f602ecb9526940fa966ca9fe (diff) | |
download | tor-db94b7f46ef02d5a1de132a5b746b350f3d066b7.tar.gz tor-db94b7f46ef02d5a1de132a5b746b350f3d066b7.zip |
Count bytes we spend on answering directory requests.
Diffstat (limited to 'src/or/rephist.h')
-rw-r--r-- | src/or/rephist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/rephist.h b/src/or/rephist.h index fe45a81a3b..dc756df501 100644 --- a/src/or/rephist.h +++ b/src/or/rephist.h @@ -23,6 +23,8 @@ void rep_hist_note_extend_failed(const char *from_name, const char *to_name); void rep_hist_dump_stats(time_t now, int severity); void rep_hist_note_bytes_read(size_t num_bytes, time_t when); void rep_hist_note_bytes_written(size_t num_bytes, time_t when); +void rep_hist_note_dir_bytes_read(size_t num_bytes, time_t when); +void rep_hist_note_dir_bytes_written(size_t num_bytes, time_t when); void rep_hist_note_exit_bytes_read(uint16_t port, size_t num_bytes); void rep_hist_note_exit_bytes_written(uint16_t port, size_t num_bytes); void rep_hist_note_exit_stream_opened(uint16_t port); |