QBenchlib: remove unused repeatCount() virtual

It's not called.

Change-Id: I3c79b7e08fa346988dfefffd172026d41b70ad6f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Thiago Macieira 2022-10-21 10:49:14 -07:00
parent ef6b5fe63f
commit 148c3eaa29
3 changed files with 0 additions and 3 deletions

View File

@ -33,7 +33,6 @@ public:
bool isMeasurementAccepted(qint64 measurement) override;
int adjustIterationCount(int suggestion) override;
int adjustMedianCount(int suggestion) override;
bool repeatCount() override { return 1; }
QTest::QBenchmarkMetric metricType() override;
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
bool nativeEventFilter(const QByteArray &eventType, void *message, qintptr *result) override;

View File

@ -31,7 +31,6 @@ public:
virtual bool isMeasurementAccepted(qint64 measurement) = 0;
virtual int adjustIterationCount(int suggestion) = 0;
virtual int adjustMedianCount(int suggestion) = 0;
virtual bool repeatCount() { return true; }
virtual bool needsWarmupIteration() { return false; }
virtual QTest::QBenchmarkMetric metricType() = 0;
};

View File

@ -31,7 +31,6 @@ public:
bool isMeasurementAccepted(qint64 measurement) override;
int adjustIterationCount(int suggestion) override;
int adjustMedianCount(int suggestion) override;
bool repeatCount() override { return true; }
bool needsWarmupIteration() override { return true; }
QTest::QBenchmarkMetric metricType() override;