Benchmarker Class | Extending Qt Creator Manual

Extending Qt Creator Manual | Benchmarker

Extending Qt Creator Manual 4.6.0

# Benchmarker Class

(Utils::Benchmarker)

- List of all members, including inherited members

## Public Functions

| Benchmarker(const QString &testsuite, const QString &testcase, const QString &tagData = QString())
| Benchmarker(const QLoggingCategory &cat, const QString &testsuite, const QString &testcase, const QString &tagData = QString())
| ~Benchmarker()
void | report(qint64 ms)

## Static Public Members

void | report(const QString &testsuite, const QString &testcase, qint64 ms, const QString &tags = QString())
void | report(const QLoggingCategory &cat, const QString &testsuite, const QString &testcase, qint64 ms, const QString &tags = QString())

## Member Function Documentation

### Benchmarker::Benchmarker(const QString &testsuite, const QString &testcase, const QString &tagData = QString())

Default constructs an instance of Benchmarker.

### Benchmarker::Benchmarker(const QLoggingCategory &cat, const QString &testsuite, const QString &testcase, const QString &tagData = QString())

Default constructs an instance of Benchmarker.

### Benchmarker::~Benchmarker()

Destroys the instance of Benchmarker.

### void Benchmarker::report(qint64 ms)

### `[static]` void Benchmarker::report(const QString &testsuite, const QString &testcase, qint64 ms, const QString &tags = QString())

### `[static]` void Benchmarker::report(const QLoggingCategory &cat, const QString &testsuite, const QString &testcase, qint64 ms, const QString &tags = QString())