MySQL 9.0.0
Source Code Documentation
|
A single entry in a single profile. More...
#include <sql_profile.h>
Private Member Functions | |
void | set_label (const char *status_arg, const char *function_arg, const char *file_arg, unsigned int line_arg) |
PROF_MEASUREMENT (QUERY_PROFILE *profile_arg, const char *status_arg) | |
PROF_MEASUREMENT (QUERY_PROFILE *profile_arg, const char *status_arg, const char *function_arg, const char *file_arg, unsigned int line_arg) | |
~PROF_MEASUREMENT () | |
void | collect () |
This updates the statistics for this moment of time. More... | |
Private Attributes | |
QUERY_PROFILE * | profile |
const char * | status |
struct rusage | rusage |
const char * | function |
const char * | file |
unsigned int | line |
ulong | m_seq |
double | time_usecs |
char * | allocated_status_memory |
Friends | |
class | QUERY_PROFILE |
class | PROFILING |
A single entry in a single profile.
|
private |
|
private |
|
private |
|
private |
This updates the statistics for this moment of time.
It captures the state of the running system, so later we can compare points in time and infer what happened in the mean time. It should only be called immediately upon instantiation of this PROF_MEASUREMENT.
|
private |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |