#include <sysio/chain/platform_timer_accuracy.hpp>
#include <sysio/chain/platform_timer.hpp>
#include <fc/time.hpp>
#include <fc/log/logger.hpp>
#include <boost/accumulators/accumulators.hpp>
#include <boost/accumulators/statistics/stats.hpp>
#include <boost/accumulators/statistics/min.hpp>
#include <boost/accumulators/statistics/max.hpp>
#include <boost/accumulators/statistics/weighted_mean.hpp>
#include <boost/accumulators/statistics/weighted_variance.hpp>
#include <chrono>
#include <mutex>
Go to the source code of this file.
◆ TIMER_STATS
Value: ("min", bacc::min(samples))("max", bacc::max(samples)) \
("mean", (int)bacc::mean(samples))("stddev", (int)sqrt(bacc::variance(samples)))
◆ TIMER_STATS_FORMAT
#define TIMER_STATS_FORMAT "min:${min}us max:${max}us mean:${mean}us stddev:${stddev}us" |