16 #ifndef PFS_EVENTS_WAITS_H
17 #define PFS_EVENTS_WAITS_H
100 #define STATE_FLAG_TIMED (1<<0)
102 #define STATE_FLAG_THREAD (1<<1)
104 #define STATE_FLAG_EVENT (1<<2)
106 #define STATE_FLAG_DIGEST (1<<3)
121 extern ulong events_waits_history_long_size;
133 void reset_events_waits_global();
134 void aggregate_account_waits(
PFS_account *account);
135 void aggregate_user_waits(
PFS_user *user);
136 void aggregate_host_waits(
PFS_host *host);
138 void reset_table_waits_by_table();
139 void reset_table_io_waits_by_table();
140 void reset_table_lock_waits_by_table();
141 void reset_table_waits_by_table_handle();
142 void reset_table_io_waits_by_table_handle();
143 void reset_table_lock_waits_by_table_handle();