Class sh::tools::Benchmarking

class sh::tools::Benchmarking : public QObject, public sh::base::Singleton

Tools for performance measurements.

Public Types

typedef QPair<QString, qint64> BenchmarkFrame

A pair of a benchmark keyname and a duration value.

Public Functions

Benchmarking()
void shutdown()

Shutdown down this singleton.

bool isAlive()

Returns if this singleton is alive (true until its shutdown begins).