setup_timers table shows the
currently selected event timer:
SELECT * FROM setup_timers;+------+------------+ | NAME | TIMER_NAME | +------+------------+ | wait | CYCLE | +------+------------+
setup_timers.TIMER_NAME value can be
changed to select a different timer. The value can be any of
the values in the
performance_timers.TIMER_NAME column. For
an explanation of how event timing occurs, see
Section 126.96.36.199, “Performance Schema Event Timing”.
Modifications to the
table affect monitoring immediately. Events already in
progress use the original timer for the begin time and the new
timer for the end time, which leads to unpredictable results.
If you make timer changes, you may want to use
TRUNCATE TABLE to reset
Performance Schema statistics.
setup_timers table has these
The type of instrument the timer is used for.
The timer that applies to the instrument type. This column can be modified.