MySQL 9.1.0
Source Code Documentation
|
traces the timestamps of events in a stderr log. More...
#include <tracer.h>
Classes | |
class | Event |
Public Types | |
using | clock_type = std::chrono::steady_clock |
Public Member Functions | |
Tracer ()=default | |
Tracer (bool enabled) | |
void | trace (Event e) |
operator bool () const | |
Static Public Member Functions | |
static std::string | direction (Event::Direction direction) |
static std::string | stage (Event::Stage st) |
Private Attributes | |
bool | enabled_ {false} |
clock_type::time_point | start_ {} |
clock_type::time_point | last_ {} |
traces the timestamps of events in a stderr log.
If enabled, the tracer outputs:
to stderr.
using Tracer::clock_type = std::chrono::steady_clock |
|
default |
|
inlineexplicit |
|
inlinestatic |
|
inlineexplicit |
|
inlinestatic |
|
inline |
|
private |
|
private |
|
private |