summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2010-07-07 14:55:42 +0200
committerKarsten Loesing <karsten.loesing@gmx.net>2010-08-18 13:54:41 +0200
commitdb94b7f46ef02d5a1de132a5b746b350f3d066b7 (patch)
tree8b5dd5963a87c29403b1c28e1a55b23cb13ad247 /src/or/config.c
parent863b6c439e6bfc64f602ecb9526940fa966ca9fe (diff)
downloadtor-db94b7f46ef02d5a1de132a5b746b350f3d066b7.tar.gz
tor-db94b7f46ef02d5a1de132a5b746b350f3d066b7.zip
Count bytes we spend on answering directory requests.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 58cf2ff2d3..1c3326d0c3 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -440,6 +440,12 @@ static config_var_t _state_vars[] = {
V(BWHistoryWriteEnds, ISOTIME, NULL),
V(BWHistoryWriteInterval, UINT, "900"),
V(BWHistoryWriteValues, CSV, ""),
+ V(BWHistoryDirReadEnds, ISOTIME, NULL),
+ V(BWHistoryDirReadInterval, UINT, "900"),
+ V(BWHistoryDirReadValues, CSV, ""),
+ V(BWHistoryDirWriteEnds, ISOTIME, NULL),
+ V(BWHistoryDirWriteInterval, UINT, "900"),
+ V(BWHistoryDirWriteValues, CSV, ""),
V(TorVersion, STRING, NULL),