Qt 4.8
Public Functions | List of all members
QBenchmarkMeasurerBase Class Referenceabstract

#include <qbenchmarkmeasurement_p.h>

Inheritance diagram for QBenchmarkMeasurerBase:
QBenchmarkCallgrindMeasurer QBenchmarkEvent QBenchmarkTimeMeasurer

Public Functions

virtual int adjustIterationCount (int suggestion)=0
 
virtual int adjustMedianCount (int suggestion)=0
 
virtual qint64 checkpoint ()=0
 
virtual void init ()
 
virtual bool isMeasurementAccepted (qint64 measurement)=0
 
virtual QTest::QBenchmarkMetric metricType ()=0
 
virtual bool needsWarmupIteration ()
 
virtual bool repeatCount ()
 
virtual void start ()=0
 
virtual qint64 stop ()=0
 
virtual ~QBenchmarkMeasurerBase ()
 

Detailed Description

Definition at line 62 of file qbenchmarkmeasurement_p.h.

Constructors and Destructors

◆ ~QBenchmarkMeasurerBase()

virtual QBenchmarkMeasurerBase::~QBenchmarkMeasurerBase ( )
inlinevirtual

Definition at line 65 of file qbenchmarkmeasurement_p.h.

65 {};

Functions

◆ adjustIterationCount()

virtual int QBenchmarkMeasurerBase::adjustIterationCount ( int  suggestion)
pure virtual

◆ adjustMedianCount()

virtual int QBenchmarkMeasurerBase::adjustMedianCount ( int  suggestion)
pure virtual

◆ checkpoint()

virtual qint64 QBenchmarkMeasurerBase::checkpoint ( )
pure virtual

◆ init()

virtual void QBenchmarkMeasurerBase::init ( )
inlinevirtual

Definition at line 66 of file qbenchmarkmeasurement_p.h.

Referenced by QBenchmarkGlobalData::createMeasurer().

66 {};

◆ isMeasurementAccepted()

virtual bool QBenchmarkMeasurerBase::isMeasurementAccepted ( qint64  measurement)
pure virtual

◆ metricType()

virtual QTest::QBenchmarkMetric QBenchmarkMeasurerBase::metricType ( )
pure virtual

◆ needsWarmupIteration()

virtual bool QBenchmarkMeasurerBase::needsWarmupIteration ( )
inlinevirtual

Reimplemented in QBenchmarkTimeMeasurer, and QBenchmarkCallgrindMeasurer.

Definition at line 74 of file qbenchmarkmeasurement_p.h.

Referenced by QTest::qInvokeTestMethodDataEntry().

74 { return false; }

◆ repeatCount()

virtual bool QBenchmarkMeasurerBase::repeatCount ( )
inlinevirtual

Reimplemented in QBenchmarkEvent.

Definition at line 73 of file qbenchmarkmeasurement_p.h.

73 { return 1; }

◆ start()

virtual void QBenchmarkMeasurerBase::start ( )
pure virtual

◆ stop()

virtual qint64 QBenchmarkMeasurerBase::stop ( )
pure virtual

The documentation for this class was generated from the following file: