cpp-common
Classes | Variables
stats.hh File Reference

Class to collect stats, generate summary and latex code. More...

#include "nvsl/string.hh"
#include "nvsl/error.hh"
#include <concepts>
#include <cstddef>
#include <map>
#include <numeric>
#include <sstream>
#include <string>
#include <vector>
Include dependency graph for stats.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nvsl::StatsCollection
 
class  nvsl::StatsBase
 Base class for Stats. More...
 
class  nvsl::StatsFreq< T >
 Stat to measure freq of elements with a name and a description. More...
 
class  nvsl::Counter
 Counts operations. More...
 
class  nvsl::StatsScalar
 Represents a single stat with a name and a description. More...
 
class  nvsl::StatsNamedVector
 Represents a vector of stats, each with a name. More...
 

Variables

template<class T >
concept nvsl::Integral = std::is_integral<T>::value
 
template<typename T , typename I >
concept nvsl::Averageable
 

Detailed Description

Class to collect stats, generate summary and latex code.

Date
novembre 17, 2021

Definition in file stats.hh.

Variable Documentation

◆ Averageable

template<typename T , typename I >
concept nvsl::Averageable
Initial value:
= Integral<I> && requires(T a, T b, I c) {
(a + b) / c;
}

Definition at line 27 of file stats.hh.