SObjectizer  5.8
Loading...
Searching...
No Matches
activity_tracking.hpp File Reference

Details for implementation of activity tracking. More...

#include <so_5/stats/work_thread_activity.hpp>
#include <so_5/types.hpp>
#include <so_5/spinlocks.hpp>
#include <so_5/outliving.hpp>
#include <mutex>
#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

namespace  so_5
 Private part of message limit implementation.
 
namespace  so_5::stats
 All stuff related to run-time monitoring and statistics.
 
namespace  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.
 

Detailed Description

Details for implementation of activity tracking.

Since
v.5.5.18

Definition in file activity_tracking.hpp.