summaryrefslogtreecommitdiffstats
path: root/src/testlib/qbenchmarkmeasurement_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib/qbenchmarkmeasurement_p.h')
-rw-r--r--src/testlib/qbenchmarkmeasurement_p.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/testlib/qbenchmarkmeasurement_p.h b/src/testlib/qbenchmarkmeasurement_p.h
index 1444439e11..8dbfd4b618 100644
--- a/src/testlib/qbenchmarkmeasurement_p.h
+++ b/src/testlib/qbenchmarkmeasurement_p.h
@@ -51,8 +51,6 @@
// We mean it.
//
-#include <QtCore/qelapsedtimer.h>
-#include <QtTest/private/cycle_p.h>
#include <QtTest/qbenchmark.h>
QT_BEGIN_NAMESPACE
@@ -73,40 +71,6 @@ public:
virtual QTest::QBenchmarkMetric metricType() = 0;
};
-class QBenchmarkTimeMeasurer : public QBenchmarkMeasurerBase
-{
-public:
- void start();
- qint64 checkpoint();
- qint64 stop();
- bool isMeasurementAccepted(qint64 measurement);
- int adjustIterationCount(int sugestion);
- int adjustMedianCount(int suggestion);
- bool needsWarmupIteration();
- QTest::QBenchmarkMetric metricType();
-private:
- QElapsedTimer time;
-};
-
-#ifdef HAVE_TICK_COUNTER // defined in 3rdparty/cycle_p.h
-
-class QBenchmarkTickMeasurer : public QBenchmarkMeasurerBase
-{
-public:
- void start();
- qint64 checkpoint();
- qint64 stop();
- bool isMeasurementAccepted(qint64 measurement);
- int adjustIterationCount(int);
- int adjustMedianCount(int suggestion);
- bool needsWarmupIteration();
- QTest::QBenchmarkMetric metricType();
-private:
- CycleCounterTicks startTicks;
-};
-
-#endif
-
QT_END_NAMESPACE
#endif // QBENCHMARKMEASUREMENT_P_H