MySQL 8.0.39
Source Code Documentation
|
Performance schema timers (declarations). More...
#include "my_config.h"
#include "my_inttypes.h"
#include "my_rdtsc.h"
#include "storage/perfschema/pfs_column_types.h"
#include "storage/perfschema/pfs_histogram.h"
Go to the source code of this file.
Classes | |
struct | time_normalizer |
A time normalizer. More... | |
Macros | |
#define | MICROSEC_TO_PICOSEC 1000000 |
Conversion factor, from micro seconds to pico seconds. More... | |
#define | NANOSEC_TO_PICOSEC 1000 |
Conversion factor, from nano seconds to pico seconds. More... | |
#define | HAVE_NANOSEC_TIMER |
#define | USED_TIMER_NAME TIMER_NAME_NANOSEC |
#define | USED_TIMER my_timer_nanoseconds |
Functions | |
ulonglong | get_idle_timer () |
ulonglong | get_wait_timer () |
ulonglong | get_stage_timer () |
ulonglong | get_statement_timer () |
ulonglong | get_transaction_timer () |
ulonglong | get_thread_cpu_timer () |
void | init_timers () |
Initialize the timer component. More... | |
Variables | |
MY_TIMER_INFO | pfs_timer_info |
Timer information data. More... | |
Performance schema timers (declarations).
#define HAVE_NANOSEC_TIMER |
#define MICROSEC_TO_PICOSEC 1000000 |
Conversion factor, from micro seconds to pico seconds.
#define NANOSEC_TO_PICOSEC 1000 |
Conversion factor, from nano seconds to pico seconds.
#define USED_TIMER my_timer_nanoseconds |
#define USED_TIMER_NAME TIMER_NAME_NANOSEC |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void init_timers | ( | ) |
Initialize the timer component.
|
extern |
Timer information data.
Characteristics about each supported timer.