Qt 4.8
|
#include <qbenchmark_p.h>
Public Functions | |
int | adjustIterationCount (int suggestion) |
void | beginDataRun () |
void | endDataRun () |
bool | isBenchmark () const |
QBenchmarkTestMethodData () | |
bool | resultsAccepted () const |
void | setResult (qreal value, QTest::QBenchmarkMetric metric, bool setByMacro=true) |
~QBenchmarkTestMethodData () | |
Public Variables | |
int | iterationCount |
QBenchmarkResult | result |
bool | resultAccepted |
bool | runOnce |
Static Public Variables | |
static QBenchmarkTestMethodData * | current |
Definition at line 164 of file qbenchmark_p.h.
QBenchmarkTestMethodData::QBenchmarkTestMethodData | ( | ) |
Definition at line 119 of file qbenchmark.cpp.
QBenchmarkTestMethodData::~QBenchmarkTestMethodData | ( | ) |
Definition at line 125 of file qbenchmark.cpp.
int QBenchmarkTestMethodData::adjustIterationCount | ( | int | suggestion | ) |
Definition at line 140 of file qbenchmark.cpp.
Referenced by beginDataRun(), and QTest::setIterationCountHint().
void QBenchmarkTestMethodData::beginDataRun | ( | ) |
Definition at line 130 of file qbenchmark.cpp.
Referenced by QTest::qInvokeTestMethodDataEntry().
void QBenchmarkTestMethodData::endDataRun | ( | ) |
Definition at line 135 of file qbenchmark.cpp.
Referenced by QTest::qInvokeTestMethodDataEntry().
|
inline |
Definition at line 176 of file qbenchmark_p.h.
|
inline |
Definition at line 177 of file qbenchmark_p.h.
void QBenchmarkTestMethodData::setResult | ( | qreal | value, |
QTest::QBenchmarkMetric | metric, | ||
bool | setByMacro = true |
||
) |
Definition at line 152 of file qbenchmark.cpp.
Referenced by QTest::setBenchmarkResult(), and QTest::QBenchmarkIterationController::~QBenchmarkIterationController().
|
static |
Definition at line 167 of file qbenchmark_p.h.
Referenced by QTestLogger::addBenchmarkResult(), QBenchmarkGlobalData::adjustMedianIterationCount(), QTest::qInvokeTestMethod(), and QTest::qInvokeTestMethodDataEntry().
int QBenchmarkTestMethodData::iterationCount |
Definition at line 184 of file qbenchmark_p.h.
Referenced by adjustIterationCount(), beginDataRun(), QTest::iterationCount(), QTest::setIterationCount(), and setResult().
QBenchmarkResult QBenchmarkTestMethodData::result |
Definition at line 181 of file qbenchmark_p.h.
Referenced by QTest::qInvokeTestMethodDataEntry(), setResult(), and QTest::QBenchmarkIterationController::~QBenchmarkIterationController().
bool QBenchmarkTestMethodData::resultAccepted |
Definition at line 182 of file qbenchmark_p.h.
Referenced by QTest::qInvokeTestMethodDataEntry(), QTest::setIterationCount(), and setResult().
bool QBenchmarkTestMethodData::runOnce |
Definition at line 183 of file qbenchmark_p.h.
Referenced by QTest::QBenchmarkIterationController::isDone(), QTest::QBenchmarkIterationController::QBenchmarkIterationController(), and setResult().