2 #define _INPUT_STATS_H 1
11 // A thread that regularly writes out input statistics, ie. a list of all inputs
12 // with some information about each. Very similar to StatsThread, but for inputs instead
15 class InputStatsThread : public Thread {
17 // Does not take ownership of the inputs.
18 InputStatsThread(const std::string &stats_file, int stats_interval, const std::vector<Input*> &inputs);
21 virtual void do_work();
23 std::string stats_file;
25 std::vector<Input*> inputs;
28 #endif // !defined(_INPUT_STATS_H)