MySQL 9.1.0
Source Code Documentation
|
Class that intends to be a dummy end point for time metrics. More...
#include <time_based_metric_stub.h>
Public Member Functions | |
void | reset () override |
Resets the counter and summed time to 0. More... | |
void | start_timer () override |
Starts counting time we are waiting on something. More... | |
void | stop_timer () override |
Stops the timer for the wait. More... | |
int64_t | get_sum_time_elapsed () const override |
Returns the time waited across all executions of the start/stop methods. More... | |
void | increment_counter () override |
Increments the waiting counter. More... | |
int64_t | get_count () const override |
Returns the number of time we waited on give spot. More... | |
Public Member Functions inherited from Time_based_metric_interface | |
virtual | ~Time_based_metric_interface ()=default |
Class that intends to be a dummy end point for time metrics.
|
overridevirtual |
Returns the number of time we waited on give spot.
Implements Time_based_metric_interface.
|
overridevirtual |
Returns the time waited across all executions of the start/stop methods.
Implements Time_based_metric_interface.
|
overridevirtual |
Increments the waiting counter.
Implements Time_based_metric_interface.
|
overridevirtual |
Resets the counter and summed time to 0.
Implements Time_based_metric_interface.
|
overridevirtual |
Starts counting time we are waiting on something.
Implements Time_based_metric_interface.
|
overridevirtual |
Stops the timer for the wait.
Requires start_timer to be called first
Implements Time_based_metric_interface.