![]() |
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 Member Functions | |
| QBenchmarkTestMethodData () | |
| ~QBenchmarkTestMethodData () | |
| void | beginDataRun () |
| void | endDataRun () |
| bool | isBenchmark () const |
| bool | resultsAccepted () const |
| int | adjustIterationCount (int suggestion) |
| void | setResults (const QList< QBenchmarkMeasurerBase::Measurement > &m, bool setByMacro=true) |
| void | setResult (QBenchmarkMeasurerBase::Measurement m, bool setByMacro=true) |
Public Attributes | |
| QList< QBenchmarkResult > | results |
| bool | valid = false |
| bool | resultAccepted = false |
| bool | runOnce = false |
| int | iterationCount = -1 |
Static Public Attributes | |
| static QBenchmarkTestMethodData * | current |
Definition at line 123 of file qbenchmark_p.h.
|
default |
| QBenchmarkTestMethodData::~QBenchmarkTestMethodData | ( | ) |
Definition at line 72 of file qbenchmark.cpp.
| int QBenchmarkTestMethodData::adjustIterationCount | ( | int | suggestion | ) |
Definition at line 86 of file qbenchmark.cpp.
| void QBenchmarkTestMethodData::beginDataRun | ( | ) |
Definition at line 77 of file qbenchmark.cpp.
| void QBenchmarkTestMethodData::endDataRun | ( | ) |
Definition at line 82 of file qbenchmark.cpp.
|
inline |
Definition at line 135 of file qbenchmark_p.h.
|
inline |
Definition at line 136 of file qbenchmark_p.h.
|
inline |
Definition at line 139 of file qbenchmark_p.h.
| void QBenchmarkTestMethodData::setResults | ( | const QList< QBenchmarkMeasurerBase::Measurement > & | m, |
| bool | setByMacro = true ) |
Definition at line 98 of file qbenchmark.cpp.
|
static |
Definition at line 126 of file qbenchmark_p.h.
| int QBenchmarkTestMethodData::iterationCount = -1 |
Definition at line 146 of file qbenchmark_p.h.
| bool QBenchmarkTestMethodData::resultAccepted = false |
Definition at line 144 of file qbenchmark_p.h.
| QList<QBenchmarkResult> QBenchmarkTestMethodData::results |
Definition at line 142 of file qbenchmark_p.h.
| bool QBenchmarkTestMethodData::runOnce = false |
Definition at line 145 of file qbenchmark_p.h.
| bool QBenchmarkTestMethodData::valid = false |
Definition at line 143 of file qbenchmark_p.h.