![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qbenchmark_p.h>
Public Types | |
| enum | Mode { WallTime , CallgrindParentProcess , CallgrindChildProcess , PerfCounter , TickCounter , EventCounter } |
Public Member Functions | |
| QBenchmarkGlobalData () | |
| ~QBenchmarkGlobalData () | |
| void | setMode (Mode mode) |
| Mode | mode () const |
| QBenchmarkMeasurerBase * | createMeasurer () |
| int | adjustMedianIterationCount () |
Public Attributes | |
| QBenchmarkMeasurerBase * | measurer = 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 QBenchmarkGlobalData * | current |
Definition at line 91 of file qbenchmark_p.h.
| Enumerator | |
|---|---|
| WallTime | |
| CallgrindParentProcess | |
| CallgrindChildProcess | |
| PerfCounter | |
| TickCounter | |
| EventCounter | |
Definition at line 98 of file qbenchmark_p.h.
| QBenchmarkGlobalData::QBenchmarkGlobalData | ( | ) |
Definition at line 17 of file qbenchmark.cpp.
| QBenchmarkGlobalData::~QBenchmarkGlobalData | ( | ) |
Definition at line 22 of file qbenchmark.cpp.
| int QBenchmarkGlobalData::adjustMedianIterationCount | ( | ) |
Definition at line 61 of file qbenchmark.cpp.
| QBenchmarkMeasurerBase * QBenchmarkGlobalData::createMeasurer | ( | ) |
Definition at line 37 of file qbenchmark.cpp.
|
inline |
Definition at line 100 of file qbenchmark_p.h.
Definition at line 29 of file qbenchmark.cpp.
| QString QBenchmarkGlobalData::callgrindOutFileBase |
Definition at line 111 of file qbenchmark_p.h.
| QBenchmarkContext QBenchmarkGlobalData::context |
Definition at line 105 of file qbenchmark_p.h.
Referenced by testing.tools.safetynet_job.JobRun::_BuildRunMetadata(), testing.tools.safetynet_job.JobRun::_IncrementalRun(), testing.tools.safetynet_job.JobRun::_WriteCheckpoint(), testing.tools.safetynet_job.JobRun::_WriteRawJson(), and testing.tools.safetynet_job.JobRun::Run().
| bool QBenchmarkGlobalData::createChart = false |
Definition at line 109 of file qbenchmark_p.h.
|
static |
Definition at line 94 of file qbenchmark_p.h.
| int QBenchmarkGlobalData::iterationCount = -1 |
Definition at line 107 of file qbenchmark_p.h.
| QBenchmarkMeasurerBase* QBenchmarkGlobalData::measurer = nullptr |
Definition at line 104 of file qbenchmark_p.h.
| int QBenchmarkGlobalData::medianIterationCount = -1 |
Definition at line 108 of file qbenchmark_p.h.
| int QBenchmarkGlobalData::minimumTotal = -1 |
Definition at line 112 of file qbenchmark_p.h.
| bool QBenchmarkGlobalData::verboseOutput = false |
Definition at line 110 of file qbenchmark_p.h.
| int QBenchmarkGlobalData::walltimeMinimum = -1 |
Definition at line 106 of file qbenchmark_p.h.