Qt 4.8
Public Functions | Public Variables | List of all members
QBenchmarkContext Struct Reference

#include <qbenchmark_p.h>

Public Functions

 QBenchmarkContext ()
 
QString toString () const
 

Public Variables

int checkpointIndex
 
QString slotName
 
QString tag
 

Detailed Description

Definition at line 77 of file qbenchmark_p.h.

Constructors and Destructors

◆ QBenchmarkContext()

QBenchmarkContext::QBenchmarkContext ( )
inline

Definition at line 91 of file qbenchmark_p.h.

91 : checkpointIndex(-1) {}

Functions

◆ toString()

QString QBenchmarkContext::toString ( ) const
inline

Definition at line 85 of file qbenchmark_p.h.

86  {
88  return s;
89  }
The QString class provides a Unicode character string.
Definition: qstring.h:83
QString arg(qlonglong a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
Definition: qstring.cpp:7186
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
Definition: qstring.cpp:4188

Properties

◆ checkpointIndex

int QBenchmarkContext::checkpointIndex

Definition at line 83 of file qbenchmark_p.h.

◆ slotName

QString QBenchmarkContext::slotName

Definition at line 80 of file qbenchmark_p.h.

Referenced by QTest::printBenchmarkResult(), and QTest::qInvokeTestMethod().

◆ tag

QString QBenchmarkContext::tag

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