filesaver
filesaver::services::stats Namespace Reference

Classes

struct  TimerStat
 
struct  CounterStat
 
struct  GaugeStat
 
class  MetricsReporter
 
class  InMemoryMetricsReporter
 
class  ThroughputTracker
 

Typedefs

using TimerAccumulatorSet = accumulator_set< double, stats::stats< tag::mean, tag::count, tag::max, tag::min, tag::median, tag::tail_quantile< right > >>
 

Functions

struct filesaver::services::stats::TimerStat __attribute__ ((aligned(128)))
 
template<typename T , typename Fn , typename Reporter >
timeOperation (Reporter &reporter, const std::string &name, Fn fn)
 

Variables

class filesaver::services::stats::MetricsReporter __attribute__
 

Typedef Documentation

◆ TimerAccumulatorSet

using filesaver::services::stats::TimerAccumulatorSet = typedef accumulator_set<double, stats::stats<tag::mean, tag::count, tag::max, tag::min, tag::median, tag::tail_quantile<right> >>

Definition at line 27 of file InMemoryMetricsReporter.h.

Function Documentation

◆ __attribute__()

struct filesaver::services::stats::TimerStat filesaver::services::stats::__attribute__ ( (aligned(128))  )

◆ timeOperation()

template<typename T , typename Fn , typename Reporter >
T filesaver::services::stats::timeOperation ( Reporter &  reporter,
const std::string &  name,
Fn  fn 
)

Definition at line 94 of file InMemoryMetricsReporter.h.

Variable Documentation

◆ __attribute__

struct filesaver::services::stats::GaugeStat filesaver::services::stats::__attribute__