Skip to content

Class cubthread::worker_pool_impl::stats

ClassList > cubthread > worker_pool_impl > stats

  • #include <thread_worker_pool_impl.hpp>

Public Static Attributes

Type Name
const cubperf::statset_definition statdef = /* multi line expression */

Public Static Functions

Type Name
void accumulate (const stats_base & base, cubperf::stat_value * where)
stats_base create (void)
void destroy (stats_base & base)
std::size_t get_count (void)
const char * get_name (std::size_t stat_index)
constexpr cubperf::stat_definition make_def (id stat_id, cubperf::stat_definition::type stat_type, const char * first_name, const char * second_name)
void time_and_increment (stats_base & base, id stat_id)
void time_and_increment (stats_base & base, id stat_id, cubperf::duration d)

Public Static Attributes Documentation

variable statdef

const cubperf::statset_definition cubthread::worker_pool_impl< Stats >::stats::statdef;

Public Static Functions Documentation

function accumulate

static void cubthread::worker_pool_impl::stats::accumulate (
    const  stats_base & base,
    cubperf::stat_value * where
) 

function create

static stats_base cubthread::worker_pool_impl::stats::create (
    void
) 

function destroy

static void cubthread::worker_pool_impl::stats::destroy (
    stats_base & base
) 

function get_count

static std::size_t cubthread::worker_pool_impl::stats::get_count (
    void
) 

function get_name

static const  char * cubthread::worker_pool_impl::stats::get_name (
    std::size_t stat_index
) 

function make_def

static constexpr  cubperf::stat_definition cubthread::worker_pool_impl::stats::make_def (
    id stat_id,
    cubperf::stat_definition::type stat_type,
    const  char * first_name,
    const  char * second_name
) 

function time_and_increment [1/2]

static void cubthread::worker_pool_impl::stats::time_and_increment (
    stats_base & base,
    id stat_id
) 

function time_and_increment [2/2]

static void cubthread::worker_pool_impl::stats::time_and_increment (
    stats_base & base,
    id stat_id,
    cubperf::duration d
) 


The documentation for this class was generated from the following file cubrid/src/thread/thread_worker_pool_impl.hpp