SObjectizer  5.5
Classes | Namespaces | Typedefs | Functions
thread_pool_stats.hpp File Reference

Reusable tools for run-time monitoring of thread-pool-like dispatchers. More...

#include <so_5/h/atomic_refcounted.hpp>
#include <so_5/rt/h/send_functions.hpp>
#include <so_5/rt/stats/h/repository.hpp>
#include <so_5/rt/stats/h/messages.hpp>
#include <so_5/rt/stats/h/std_names.hpp>
#include <so_5/disp/reuse/h/data_source_prefix_helpers.hpp>

Go to the source code of this file.

Classes

struct  so_5::disp::reuse::thread_pool_stats::queue_description_t
 Description of one event queue. More...
 
struct  so_5::disp::reuse::thread_pool_stats::queue_description_holder_t
 A holder of one event queue information block. More...
 
class  so_5::disp::reuse::thread_pool_stats::stats_consumer_t
 An interface of collector of information about thread-pool-like dispatcher state. More...
 
class  so_5::disp::reuse::thread_pool_stats::stats_supplier_t
 An interface of supplier of information about thread-pool-like dispatcher state. More...
 
class  so_5::disp::reuse::thread_pool_stats::data_source_t
 Type of data source for thread-pool-like dispatchers. More...
 
struct  so_5::disp::reuse::thread_pool_stats::data_source_t::wt_activity_info_t
 Activity stats for a particular work thread. More...
 
class  so_5::disp::reuse::thread_pool_stats::data_source_t::collector_t
 Actual type of statical information collector. More...
 

Namespaces

 so_5
 Public part of message limit implementation.
 
 so_5::disp
 Event dispatchers.
 
 so_5::disp::reuse
 Reusable components for dispatchers.
 
 so_5::disp::reuse::thread_pool_stats
 Helper tools for implementation of run-time monitoring for thread-pool-like dispatchers.
 

Typedefs

using so_5::disp::reuse::thread_pool_stats::queue_description_holder_ref_t = intrusive_ptr_t< queue_description_holder_t >
 Typedef for smart pointer to queue_description. More...
 

Functions

queue_description_holder_ref_t so_5::disp::reuse::thread_pool_stats::make_queue_desc_holder (const stats::prefix_t &prefix, const std::string &coop_name, std::size_t agent_count)
 Helper function for creating queue_description_holder object. More...
 
queue_description_holder_ref_t so_5::disp::reuse::thread_pool_stats::make_queue_desc_holder (const stats::prefix_t &prefix, const void *agent)
 Helper function for creating queue_description_holder object. More...
 

Detailed Description

Reusable tools for run-time monitoring of thread-pool-like dispatchers.

Since
v.5.5.4