37 #ifndef JSK_TOPIC_TOOLS_COUNTER_H_ 38 #define JSK_TOPIC_TOOLS_COUNTER_H_ 40 #include <boost/accumulators/accumulators.hpp> 41 #include <boost/accumulators/statistics/stats.hpp> 42 #include <boost/accumulators/statistics/min.hpp> 43 #include <boost/accumulators/statistics/max.hpp> 44 #include <boost/accumulators/statistics/variance.hpp> 45 #include <boost/accumulators/statistics/count.hpp> 53 typedef boost::accumulators::accumulator_set<
55 boost::accumulators::stats<boost::accumulators::tag::count,
56 boost::accumulators::tag::mean,
57 boost::accumulators::tag::min,
58 boost::accumulators::tag::max,
60 virtual void add(
double v);
61 virtual double mean();