Qt 4.8
|
#include <qbenchmark_p.h>
Public Types | |
enum | Mode { WallTime, CallgrindParentProcess, CallgrindChildProcess, TickCounter, EventCounter } |
Public Functions | |
int | adjustMedianIterationCount () |
QBenchmarkMeasurerBase * | createMeasurer () |
Mode | mode () const |
QBenchmarkGlobalData () | |
void | setMode (Mode mode) |
~QBenchmarkGlobalData () | |
Public Variables | |
QString | callgrindOutFileBase |
QBenchmarkContext | context |
bool | createChart |
int | iterationCount |
QBenchmarkMeasurerBase * | measurer |
int | medianIterationCount |
bool | verboseOutput |
int | walltimeMinimum |
Static Public Variables | |
static QBenchmarkGlobalData * | current |
Properties | |
Mode | mode_ |
Definition at line 133 of file qbenchmark_p.h.
Enumerator | |
---|---|
WallTime | |
CallgrindParentProcess | |
CallgrindChildProcess | |
TickCounter | |
EventCounter |
Definition at line 140 of file qbenchmark_p.h.
QBenchmarkGlobalData::QBenchmarkGlobalData | ( | ) |
Definition at line 59 of file qbenchmark.cpp.
QBenchmarkGlobalData::~QBenchmarkGlobalData | ( | ) |
Definition at line 71 of file qbenchmark.cpp.
int QBenchmarkGlobalData::adjustMedianIterationCount | ( | ) |
Definition at line 107 of file qbenchmark.cpp.
QBenchmarkMeasurerBase * QBenchmarkGlobalData::createMeasurer | ( | ) |
Definition at line 86 of file qbenchmark.cpp.
Referenced by setMode().
|
inline |
void QBenchmarkGlobalData::setMode | ( | Mode | mode | ) |
Definition at line 77 of file qbenchmark.cpp.
Referenced by QBenchmarkGlobalData(), and QTest::qtest_qParseArgs().
QString QBenchmarkGlobalData::callgrindOutFileBase |
Definition at line 153 of file qbenchmark_p.h.
Referenced by QBenchmarkValgrindUtils::cleanup(), QBenchmarkValgrindUtils::getNewestFileName(), QTest::qtest_qParseArgs(), and QBenchmarkValgrindUtils::runCallgrindSubProcess().
QBenchmarkContext QBenchmarkGlobalData::context |
Definition at line 147 of file qbenchmark_p.h.
Referenced by QTest::qInvokeTestMethod(), and QTest::qInvokeTestMethodDataEntry().
bool QBenchmarkGlobalData::createChart |
Definition at line 151 of file qbenchmark_p.h.
|
static |
Definition at line 136 of file qbenchmark_p.h.
Referenced by QBenchmarkTestMethodData::adjustIterationCount(), QTest::beginBenchmarkMeasurement(), QBenchmarkValgrindUtils::cleanup(), QTest::endBenchmarkMeasurement(), QBenchmarkValgrindUtils::getNewestFileName(), QTest::qExec(), QTest::qInvokeTestMethod(), QTest::qInvokeTestMethodDataEntry(), QTest::qtest_qParseArgs(), QBenchmarkValgrindUtils::runCallgrindSubProcess(), QBenchmarkTestMethodData::setResult(), ~QBenchmarkGlobalData(), and QTest::QBenchmarkIterationController::~QBenchmarkIterationController().
int QBenchmarkGlobalData::iterationCount |
Definition at line 149 of file qbenchmark_p.h.
Referenced by QBenchmarkTestMethodData::adjustIterationCount(), and QTest::qtest_qParseArgs().
QBenchmarkMeasurerBase* QBenchmarkGlobalData::measurer |
Definition at line 146 of file qbenchmark_p.h.
Referenced by QBenchmarkTestMethodData::adjustIterationCount(), adjustMedianIterationCount(), QTest::beginBenchmarkMeasurement(), createMeasurer(), QTest::endBenchmarkMeasurement(), QTest::qInvokeTestMethodDataEntry(), setMode(), QBenchmarkTestMethodData::setResult(), and ~QBenchmarkGlobalData().
int QBenchmarkGlobalData::medianIterationCount |
Definition at line 150 of file qbenchmark_p.h.
Referenced by adjustMedianIterationCount(), and QTest::qtest_qParseArgs().
|
private |
Definition at line 155 of file qbenchmark_p.h.
Referenced by createMeasurer(), QBenchmarkGlobalData(), and setMode().
bool QBenchmarkGlobalData::verboseOutput |
Definition at line 152 of file qbenchmark_p.h.
Referenced by QTest::qtest_qParseArgs().
int QBenchmarkGlobalData::walltimeMinimum |
Definition at line 148 of file qbenchmark_p.h.
Referenced by QTest::qtest_qParseArgs(), and QBenchmarkTestMethodData::setResult().