42 #include "QtTest/private/qbenchmarkmeasurement_p.h" 43 #include "QtTest/private/qbenchmark_p.h" 44 #include "QtTest/private/qbenchmarkmetric_p.h" 69 return (measurement > 50);
92 #ifdef HAVE_TICK_COUNTER // defined in 3rdparty/cycle_p.h 94 void QBenchmarkTickMeasurer::start()
99 qint64 QBenchmarkTickMeasurer::checkpoint()
105 qint64 QBenchmarkTickMeasurer::stop()
111 bool QBenchmarkTickMeasurer::isMeasurementAccepted(
qint64)
116 int QBenchmarkTickMeasurer::adjustIterationCount(
int)
121 int QBenchmarkTickMeasurer::adjustMedianCount(
int)
126 bool QBenchmarkTickMeasurer::needsWarmupIteration()
static double elapsed(qint64 after, qint64 before)
#define QT_END_NAMESPACE
This macro expands to.
QBenchmarkMetric
This enum lists all the things that can be benchmarked.
Q_DECL_CONSTEXPR qint64 qRound64(qreal d)
bool isMeasurementAccepted(qint64 measurement)
int adjustMedianCount(int suggestion)
qint64 elapsed() const
Returns the number of milliseconds since this QElapsedTimer was last started.
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool needsWarmupIteration()
int adjustIterationCount(int sugestion)
void start()
Starts this timer.
QTest::QBenchmarkMetric metricType()