24#ifndef MYSQL_SCHEDULER_STATISTICS_MAP_H
25#define MYSQL_SCHEDULER_STATISTICS_MAP_H
29#include <unordered_map>
51 std::size_t instance_id,
53 bool enable_extended_statistics =
false);
Supported statistics:
Definition: statistics_map.h:43
static bool init_statistics(std::size_t instance_id, std::size_t num_threads=Constants::max_thread_count, bool enable_extended_statistics=false)
Definition: statistics_map.cpp:32
static constexpr auto thp_thread_internal_id
Definition: statistics_map.h:49
static constexpr auto thp_queue_size
Definition: statistics_map.h:45
static constexpr auto thp_worker_exec_time
Definition: statistics_map.h:47
static constexpr auto thp_task_exec_time
Definition: statistics_map.h:46
static constexpr auto sched_task_exec_time
Definition: statistics_map.h:48
Definition: base_dependency_tracker.h:41
static constexpr unsigned int max_thread_count
The maximum number of threads in the thread pool This value should be aligned with the MTS_MAX_WORKER...
Definition: constants.h:38