![]() |
MySQL 26.7.0
Source Code Documentation
|
Singleton Statistics Monitor for all of the registered "instances". More...
#include <statistics_monitor.h>
Public Types | |
| using | Mutex = concurrency::Mutex |
| using | Mutex_key = concurrency::Mutex_key |
Static Public Member Functions | |
| static Statistics_instance_monitor & | get (std::size_t instance_id) |
| static void | clear (std::size_t instance_id) |
Protected Types | |
| using | Statistics_instance_monitor_ptr = std::unique_ptr< Statistics_instance_monitor > |
| using | Instances_map = std::array< Statistics_instance_monitor, Constants::max_instances > |
Protected Member Functions | |
| Statistics_monitor ()=default | |
Static Protected Member Functions | |
| static void | init () |
| This initialization function is called by "get" if needed. More... | |
| static Instances_map & | instances () |
Static Protected Attributes | |
| static std::atomic< bool > | m_init {false} |
| static std::atomic< bool > | m_ready {false} |
Singleton Statistics Monitor for all of the registered "instances".
We typically track statistics separately for user-defined channels
|
protected |
|
protected |
|
protecteddefault |
|
static |
|
static |
|
staticprotected |
This initialization function is called by "get" if needed.
|
staticprotected |
|
staticprotected |
|
staticprotected |