libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::ppd::no_statistics< Sz > Struct Template Reference

Just stub statistics - to support the interface. No actual statistics are collected. More...

#include <thread_statistics.hpp>

Classes

struct  process_work_type
 

Public Types

typedef Sz work_added_type
 
typedef ave_deviation_meter< work_added_typeave_stats_type
 
typedef process_work_type vertical_statistics_type
 
typedef process_work_type hrz_statistics_type
 

Public Member Functions

constexpr void processed_vertical_work () noexcept(true) FORCE_INLINE
 
constexpr void processed_hrz_work () noexcept(true) FORCE_INLINE
 

Static Public Member Functions

static constexpr void added_work () noexcept(true) FORCE_INLINE
 
constexpr static work_added_type __fastcall total_work_added () noexcept(true) FORCE_INLINE
 
static constexpr void add_vertical_work (ave_stats_type const &) noexcept(true) FORCE_INLINE
 
static const ave_stats_type &__fastcall total_vertical_work () noexcept(true)
 
static constexpr void add_hrz_work (ave_stats_type const &) noexcept(true) FORCE_INLINE
 
static const ave_stats_type &__fastcall total_hrz_work () noexcept(true) FORCE_INLINE
 
static constexpr void update_max_queue_len (work_added_type const) noexcept(true) FORCE_INLINE
 
static constexpr void update_colln_stats (work_added_type const) noexcept(true) FORCE_INLINE
 

Friends

constexpr friend tostream &__fastcall operator<< (tostream &os, no_statistics const &) noexcept(true) FORCE_INLINE
 

Detailed Description

template<class Sz>
struct jmmcg::ppd::no_statistics< Sz >

Just stub statistics - to support the interface. No actual statistics are collected.

To gather basic statistics use basic_statistics, or roll your own!

See also
basic_statistics

Definition at line 71 of file thread_statistics.hpp.

Member Typedef Documentation

◆ ave_stats_type

Definition at line 90 of file thread_statistics.hpp.

◆ hrz_statistics_type

Definition at line 94 of file thread_statistics.hpp.

◆ vertical_statistics_type

Definition at line 92 of file thread_statistics.hpp.

◆ work_added_type

template<class Sz >
typedef Sz jmmcg::ppd::no_statistics< Sz >::work_added_type

Definition at line 89 of file thread_statistics.hpp.

Member Function Documentation

◆ add_hrz_work()

template<class Sz >
static constexpr void jmmcg::ppd::no_statistics< Sz >::add_hrz_work ( ave_stats_type const &  )
inlinestaticconstexprnoexcept

Definition at line 107 of file thread_statistics.hpp.

◆ add_vertical_work()

template<class Sz >
static constexpr void jmmcg::ppd::no_statistics< Sz >::add_vertical_work ( ave_stats_type const &  )
inlinestaticconstexprnoexcept

Definition at line 100 of file thread_statistics.hpp.

◆ added_work()

template<class Sz >
static constexpr void jmmcg::ppd::no_statistics< Sz >::added_work ( )
inlinestaticconstexprnoexcept

Definition at line 96 of file thread_statistics.hpp.

◆ processed_hrz_work()

template<class Sz >
constexpr void jmmcg::ppd::no_statistics< Sz >::processed_hrz_work ( )
inlineconstexprnoexcept

Definition at line 106 of file thread_statistics.hpp.

◆ processed_vertical_work()

template<class Sz >
constexpr void jmmcg::ppd::no_statistics< Sz >::processed_vertical_work ( )
inlineconstexprnoexcept

Definition at line 99 of file thread_statistics.hpp.

◆ total_hrz_work()

template<class Sz >
static const ave_stats_type& __fastcall jmmcg::ppd::no_statistics< Sz >::total_hrz_work ( )
inlinestaticnoexcept

Definition at line 108 of file thread_statistics.hpp.

◆ total_vertical_work()

template<class Sz >
static const ave_stats_type& __fastcall jmmcg::ppd::no_statistics< Sz >::total_vertical_work ( )
inlinestaticnoexcept

Definition at line 101 of file thread_statistics.hpp.

◆ total_work_added()

template<class Sz >
constexpr static work_added_type __fastcall jmmcg::ppd::no_statistics< Sz >::total_work_added ( )
inlinestaticconstexprnoexcept

Definition at line 97 of file thread_statistics.hpp.

◆ update_colln_stats()

template<class Sz >
static constexpr void jmmcg::ppd::no_statistics< Sz >::update_colln_stats ( work_added_type const  )
inlinestaticconstexprnoexcept

Definition at line 113 of file thread_statistics.hpp.

◆ update_max_queue_len()

template<class Sz >
static constexpr void jmmcg::ppd::no_statistics< Sz >::update_max_queue_len ( work_added_type const  )
inlinestaticconstexprnoexcept

Definition at line 112 of file thread_statistics.hpp.

Friends And Related Function Documentation

◆ operator<<

template<class Sz >
constexpr friend tostream& __fastcall operator<< ( tostream os,
no_statistics< Sz > const &   
)
friend

Definition at line 115 of file thread_statistics.hpp.


The documentation for this struct was generated from the following file: