Qt 4.8
|
The QBenchmarkIterationController class is used by the QBENCHMARK macro to drive the benchmarking loop. More...
#include <qbenchmark.h>
Public Types | |
enum | RunMode { RepeatUntilValidMeasurement, RunOnce } |
Public Functions | |
bool | isDone () |
void | next () |
QBenchmarkIterationController () | |
QBenchmarkIterationController (RunMode runMode) | |
~QBenchmarkIterationController () | |
Public Variables | |
int | i |
The QBenchmarkIterationController class is used by the QBENCHMARK macro to drive the benchmarking loop.
It is repsonsible for starting and stopping the timing measurements as well as calling the result reporting functions.
Definition at line 65 of file qbenchmark.h.
Enumerator | |
---|---|
RepeatUntilValidMeasurement | |
RunOnce |
Definition at line 68 of file qbenchmark.h.
QTest::QBenchmarkIterationController::QBenchmarkIterationController | ( | ) |
Definition at line 206 of file qbenchmark.cpp.
QTest::QBenchmarkIterationController::QBenchmarkIterationController | ( | RunMode | runMode | ) |
Definition at line 198 of file qbenchmark.cpp.
QTest::QBenchmarkIterationController::~QBenchmarkIterationController | ( | ) |
Definition at line 214 of file qbenchmark.cpp.
bool QTest::QBenchmarkIterationController::isDone | ( | ) |
Definition at line 222 of file qbenchmark.cpp.
void QTest::QBenchmarkIterationController::next | ( | ) |
Definition at line 231 of file qbenchmark.cpp.
int QTest::QBenchmarkIterationController::i |
Definition at line 74 of file qbenchmark.h.