summaryrefslogtreecommitdiff
path: root/src/or/main.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-20 11:16:17 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-20 11:16:17 -0500
commit7ca0a9c4aec374f5fbddc7847c543c5ba9e44869 (patch)
tree4e02cbfec3202d0057ba9953bc0dfa25c5a8367e /src/or/main.h
parentc99ec36defadf763034b82107f6168987668862f (diff)
parentd4f4108601fe7e2614f30055ff5abe00460f6a12 (diff)
downloadtor-7ca0a9c4aec374f5fbddc7847c543c5ba9e44869.tar.gz
tor-7ca0a9c4aec374f5fbddc7847c543c5ba9e44869.zip
Merge remote-tracking branch 'ahf-oniongit/bugs/24605'
Diffstat (limited to 'src/or/main.h')
-rw-r--r--src/or/main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/main.h b/src/or/main.h
index 132c302dda..d8593b57d9 100644
--- a/src/or/main.h
+++ b/src/or/main.h
@@ -81,6 +81,11 @@ void tor_free_all(int postfork);
int do_main_loop(void);
int tor_init(int argc, char **argv);
+void reset_main_loop_counters(void);
+uint64_t get_main_loop_success_count(void);
+uint64_t get_main_loop_error_count(void);
+uint64_t get_main_loop_idle_count(void);
+
extern time_t time_of_process_start;
extern long stats_n_seconds_working;
extern int quiet_level;