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