SObjectizer  5.5
Classes | Namespaces | Functions
activity_tracking.hpp File Reference

Details for implementation of activity tracking. More...

#include <so_5/types.hpp>
#include <so_5/spinlocks.hpp>
#include <so_5/outliving.hpp>
#include <so_5/stats/work_thread_activity.hpp>
#include <string_view>

Go to the source code of this file.

Classes

struct  so_5::stats::activity_tracking_stuff::traits
 Various traits of activity tracking implementation. More...
 
struct  so_5::stats::activity_tracking_stuff::no_actual_lock< L >
 An analog of std::lock_guard but without actual locking actions. More...
 
struct  so_5::stats::activity_tracking_stuff::default_lock_policy< Lock_Holder >
 Default locking policy for stats_collector_t. More...
 
struct  so_5::stats::activity_tracking_stuff::no_lock_at_start_stop_policy< Lock_Holder >
 A custom locking policy for stats_collector_t. More...
 
class  so_5::stats::activity_tracking_stuff::internal_lock
 Base for the case of internal stats lock. More...
 
class  so_5::stats::activity_tracking_stuff::external_lock< Lock_Type, Lock_Policy >
 Base for the case of externals stats lock. More...
 
struct  so_5::stats::activity_tracking_stuff::null_lock
 A special class for cases where lock is not needed at all. More...
 
class  so_5::stats::activity_tracking_stuff::stats_collector_t< Lock_Holder >
 Helper for collecting activity stats. More...
 

Namespaces

 so_5
 Public part of message limit implementation.
 
 so_5::stats
 All stuff related to run-time monitoring and statistics.
 
 so_5::stats::activity_tracking_stuff
 

Functions

template<typename Common_Disp_Iface_Type , typename Disp_No_Tracking , typename Disp_With_Tracking , typename Env , typename Disp_Params , typename... Args>
std::unique_ptr< Common_Disp_Iface_Type > so_5::stats::activity_tracking_stuff::create_appropriate_disp (outliving_reference_t< Env > env, const std::string_view name_base, Disp_Params disp_params, Args &&...args)
 Helper function for creation of dispatcher with respect to activity tracking flag in dispatcher params and in Environment's params. More...
 

Detailed Description

Details for implementation of activity tracking.

Since
v.5.5.18