24#ifndef MYSQL_SCHEDULER_SCHEDULER_PSI_H
25#define MYSQL_SCHEDULER_SCHEDULER_PSI_H
Polymorphism-free memory resource class with custom allocator and deallocator functions.
Definition: memory_resource.h:88
Class that wraps resources in a polymorphic manner.
PSI_cond_key Cv_key
Definition: condition_variable_srv.h:39
PSI_stage_key Stage_key
Definition: stage_srv.h:35
PSI_mutex_key Mutex_key
Definition: mutex_srv.h:41
PSI_thread_key Thread_key
Definition: thread_srv.h:43
Definition: base_dependency_tracker.h:41
Scheduler instrumentation parameters, packed into this structure to simplify construction of a Schedu...
Definition: scheduler_psi.h:38
concurrency::Stage_key key_stage_stopping
stage: stopping scheduler
Definition: scheduler_psi.h:54
concurrency::Cv_key key_cv_sched
cv: Key for cv used by scheduler thread for all notifications
Definition: scheduler_psi.h:44
concurrency::Stage_key key_stage_enqueueing_ready_tasks
stage: enqueue ready tasks
Definition: scheduler_psi.h:64
concurrency::Mutex_key key_mt_phases
mutex: Key for mutex protecting phase queues
Definition: scheduler_psi.h:50
concurrency::Mutex_key key_mt_tasks
mutex: Key for mutex protecting enqueued tasks
Definition: scheduler_psi.h:48
concurrency::Thread_key key_th_scheduler
thread: Scheduler thread key
Definition: scheduler_psi.h:52
concurrency::Stage_key key_stage_stopped
stage: scheduler thread stopped
Definition: scheduler_psi.h:58
concurrency::Stage_key key_stage_check_stage_queues
stage: check stage queues
Definition: scheduler_psi.h:62
concurrency::Cv_key key_cv_end
cv: Key for cv ending execution
Definition: scheduler_psi.h:46
concurrency::Stage_key key_stage_wait_clock_queue
stage: waiting for clock (cannot handle more dependencies)
Definition: scheduler_psi.h:66
concurrency::Mutex_key key_mt_sched
mutex: Key for mutex associated with scheduler condition variable
Definition: scheduler_psi.h:40
concurrency::Stage_key key_stage_waiting
stage: waiting for work
Definition: scheduler_psi.h:56
concurrency::Mutex_key key_mt_end
mutex: Key for mutex associated with cv used to end execution
Definition: scheduler_psi.h:42
allocators::Memory_resource memory_resource
memory: memory instrumentation object
Definition: scheduler_psi.h:70
concurrency::Stage_key key_stage_check_dependencies
stage: check dependencies
Definition: scheduler_psi.h:60
concurrency::Stage_key key_reached_max_task_limit
stage: synchronizing scheduler - reached max task limit
Definition: scheduler_psi.h:68