Supported statistics:
More...
#include <statistics_map.h>
Supported statistics:
- thp_queue_size - current size of the thread pool queue size
- thp_task_exec_time - the number of microseconds spent by workers to execute tasks
- thp_worker_exec_time - the number of microseconds spent to by thread pool workers on waiting for tasks and execute tasks
- sched_task_exec_time - the number of microseconds spent by workers to execute tasks, without callback overhead
- thp_thread_internal_id - thread internal id, set once after thread starts
◆ init_statistics()
| bool mysql::scheduler::Statistics_map::init_statistics |
( |
std::size_t |
instance_id, |
|
|
std::size_t |
num_threads = Constants::max_thread_count, |
|
|
bool |
enable_extended_statistics = false |
|
) |
| |
|
static |
◆ sched_task_exec_time
| constexpr auto mysql::scheduler::Statistics_map::sched_task_exec_time = "sched_task_exec_time" |
|
staticconstexpr |
◆ thp_queue_size
| constexpr auto mysql::scheduler::Statistics_map::thp_queue_size = "thp_queue_size" |
|
staticconstexpr |
◆ thp_task_exec_time
| constexpr auto mysql::scheduler::Statistics_map::thp_task_exec_time = "thp_task_exec_time" |
|
staticconstexpr |
◆ thp_thread_internal_id
| constexpr auto mysql::scheduler::Statistics_map::thp_thread_internal_id = "thp_thread_internal_id" |
|
staticconstexpr |
◆ thp_worker_exec_time
| constexpr auto mysql::scheduler::Statistics_map::thp_worker_exec_time = "thp_worker_exec_time" |
|
staticconstexpr |
The documentation for this class was generated from the following files: