MySQL  8.0.27
Source Code Documentation
timing_iterator.h File Reference
#include <inttypes.h>
#include <stdio.h>
#include <chrono>
#include "my_alloc.h"
#include "sql/row_iterator.h"
#include "sql/sql_class.h"
#include "sql/sql_lex.h"

Go to the source code of this file.

Classes

class  TimingIterator< RealIterator >
 An iterator template that wraps a RowIterator, such that all calls to Init() and Read() are timed (all others are passed through unchanged, and possibly even inlined, since all RowIterator implementations are final). More...
 
struct  GetTimingData< RealIterator, class >
 
struct  GetTimingData< RealIterator, typename RealIterator::keeps_own_timing >
 

Functions

template<class RealIterator , class... Args>
unique_ptr_destroy_only< RowIteratorNewIterator (THD *thd, Args &&... args)
 

Function Documentation

◆ NewIterator()

template<class RealIterator , class... Args>
unique_ptr_destroy_only<RowIterator> NewIterator ( THD thd,
Args &&...  args 
)