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:
parent
ef6b5fe63f
commit
148c3eaa29
@ -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;
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user