Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
double | latestValuesAverage () const |
const QString & | name () const |
void | setIgnoreZeroValues (bool ignore) |
void | setNumValuesLimit (int limit) |
void | start () |
qint64 | tick () |
double | totalAverage () const |
const QList< qint64 > | values () const |
Static Public Member Functions | |
static void | removeAllTimers () |
static Timer * | start (const QString &timer) |
static qint64 | tick (const QString &timer) |
static Timer * | timer (const QString &timer) |
static QStringList | timerNames () |
Private Member Functions | |
Timer () | |
Static Private Member Functions | |
static QMap< QString, Timer * > & | timers () |
Private Attributes | |
bool | ignoreZeroValues_ {true} |
QString | name_ |
int | numValuesLimit_ {10} |
QElapsedTimer | qtTimer_ |
qint64 | totalCount_ {} |
qint64 | totalSum_ {} |
QList< qint64 > | values_ |
|
private |
double Logger::Timer::latestValuesAverage | ( | ) | const |
|
inline |
|
static |
|
inline |
void Logger::Timer::setNumValuesLimit | ( | int | limit | ) |
void Logger::Timer::start | ( | ) |
|
inlinestatic |
qint64 Logger::Timer::tick | ( | ) |
|
inlinestatic |
|
static |
|
inlinestatic |
|
staticprivate |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |