Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QBenchmarkGlobalData Class Reference

#include <qbenchmark_p.h>

Collaboration diagram for QBenchmarkGlobalData:

Public Types

enum  Mode {
  WallTime , CallgrindParentProcess , CallgrindChildProcess , PerfCounter ,
  TickCounter , EventCounter
}

Public Member Functions

 QBenchmarkGlobalData ()
 ~QBenchmarkGlobalData ()
void setMode (Mode mode)
Mode mode () const
QBenchmarkMeasurerBasecreateMeasurer ()
int adjustMedianIterationCount ()

Public Attributes

QBenchmarkMeasurerBasemeasurer = nullptr
QBenchmarkContext context
int walltimeMinimum = -1
int iterationCount = -1
int medianIterationCount = -1
bool createChart = false
bool verboseOutput = false
QString callgrindOutFileBase
int minimumTotal = -1

Static Public Attributes

static QBenchmarkGlobalDatacurrent

Detailed Description

Definition at line 91 of file qbenchmark_p.h.

Member Enumeration Documentation

◆ Mode

Enumerator
WallTime 
CallgrindParentProcess 
CallgrindChildProcess 
PerfCounter 
TickCounter 
EventCounter 

Definition at line 98 of file qbenchmark_p.h.

Constructor & Destructor Documentation

◆ QBenchmarkGlobalData()

QBenchmarkGlobalData::QBenchmarkGlobalData ( )

Definition at line 17 of file qbenchmark.cpp.

◆ ~QBenchmarkGlobalData()

QBenchmarkGlobalData::~QBenchmarkGlobalData ( )

Definition at line 22 of file qbenchmark.cpp.

Member Function Documentation

◆ adjustMedianIterationCount()

int QBenchmarkGlobalData::adjustMedianIterationCount ( )

Definition at line 61 of file qbenchmark.cpp.

◆ createMeasurer()

QBenchmarkMeasurerBase * QBenchmarkGlobalData::createMeasurer ( )

Definition at line 37 of file qbenchmark.cpp.

◆ mode()

Mode QBenchmarkGlobalData::mode ( ) const
inline

Definition at line 100 of file qbenchmark_p.h.

◆ setMode()

void QBenchmarkGlobalData::setMode ( Mode mode)

Definition at line 29 of file qbenchmark.cpp.

Member Data Documentation

◆ callgrindOutFileBase

QString QBenchmarkGlobalData::callgrindOutFileBase

Definition at line 111 of file qbenchmark_p.h.

◆ context

◆ createChart

bool QBenchmarkGlobalData::createChart = false

Definition at line 109 of file qbenchmark_p.h.

◆ current

QT_BEGIN_NAMESPACE QBenchmarkGlobalData * QBenchmarkGlobalData::current
static

Definition at line 94 of file qbenchmark_p.h.

◆ iterationCount

int QBenchmarkGlobalData::iterationCount = -1

Definition at line 107 of file qbenchmark_p.h.

◆ measurer

QBenchmarkMeasurerBase* QBenchmarkGlobalData::measurer = nullptr

Definition at line 104 of file qbenchmark_p.h.

◆ medianIterationCount

int QBenchmarkGlobalData::medianIterationCount = -1

Definition at line 108 of file qbenchmark_p.h.

◆ minimumTotal

int QBenchmarkGlobalData::minimumTotal = -1

Definition at line 112 of file qbenchmark_p.h.

◆ verboseOutput

bool QBenchmarkGlobalData::verboseOutput = false

Definition at line 110 of file qbenchmark_p.h.

◆ walltimeMinimum

int QBenchmarkGlobalData::walltimeMinimum = -1

Definition at line 106 of file qbenchmark_p.h.


The documentation for this class was generated from the following files: