libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::LIBJMMCG_VER_NAMESPACE::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 ave_stats_type const &__fastcall total_vertical_work () noexcept(true)
 
static constexpr void add_hrz_work (ave_stats_type const &) noexcept(true) FORCE_INLINE
 
static ave_stats_type const &__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::LIBJMMCG_VER_NAMESPACE::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 36 of file thread_statistics.hpp.

Member Typedef Documentation

◆ ave_stats_type

◆ hrz_statistics_type

◆ vertical_statistics_type

◆ work_added_type

Definition at line 37 of file thread_statistics.hpp.

Member Function Documentation

◆ add_hrz_work()

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

Definition at line 55 of file thread_statistics.hpp.

◆ add_vertical_work()

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

Definition at line 48 of file thread_statistics.hpp.

◆ added_work()

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

Definition at line 44 of file thread_statistics.hpp.

◆ processed_hrz_work()

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

Definition at line 54 of file thread_statistics.hpp.

◆ processed_vertical_work()

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

Definition at line 47 of file thread_statistics.hpp.

◆ total_hrz_work()

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

Definition at line 56 of file thread_statistics.hpp.

◆ total_vertical_work()

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

Definition at line 49 of file thread_statistics.hpp.

◆ total_work_added()

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

Definition at line 45 of file thread_statistics.hpp.

◆ update_colln_stats()

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

Definition at line 61 of file thread_statistics.hpp.

◆ update_max_queue_len()

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

Definition at line 60 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 63 of file thread_statistics.hpp.


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