MySQL 8.0.39
Source Code Documentation
|
This is a no-op class with a public interface identical to that of the IteratorProfilerImpl class. More...
Classes | |
struct | TimeStamp |
Public Member Functions | |
double | GetFirstRowMs () const override |
Time (in ms) spent fetching the first row. More... | |
double | GetLastRowMs () const override |
Time (in ms) spent fetching the remaining rows. More... | |
uint64_t | GetNumInitCalls () const override |
The number of loops (i.e number of iterator->Init() calls. More... | |
uint64_t | GetNumRows () const override |
The number of rows fetched. More... | |
void | StopInit (TimeStamp start_time) |
void | IncrementNumRows (uint64_t materialized_rows) |
void | StopRead (TimeStamp start_time, bool read_ok) |
Public Member Functions inherited from IteratorProfiler | |
virtual | ~IteratorProfiler ()=default |
Static Public Member Functions | |
static TimeStamp | Now () |
This is a no-op class with a public interface identical to that of the IteratorProfilerImpl class.
This allows iterators with internal time keeping (such as MaterializeIterator) to use the same code whether time keeping is enabled or not. And all the mutators are inlinable no-ops, so that there should be no runtime overhead.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
The number of loops (i.e number of iterator->Init() calls.
Implements IteratorProfiler.
|
inlineoverridevirtual |
|
inline |
|
inlinestatic |
|
inline |
|
inline |