#include <stats.h>
Public Member Functions | |
StatsCounter (const string &category, const string &name) | |
void | operator++ () |
void | operator++ (int) |
void | Max (StatsCounterType val) |
void | Min (StatsCounterType val) |
operator double () const | |
Private Attributes | |
StatsCounterType | num |
Definition at line 53 of file stats.h.
StatsCounter::StatsCounter | ( | const string & | category, | |
const string & | name | |||
) |
void StatsCounter::Max | ( | StatsCounterType | val | ) | [inline] |
Definition at line 59 of file stats.h.
References cimg_library::max(), and num.
Referenced by lux::GridAccel::GridAccel().
void StatsCounter::Min | ( | StatsCounterType | val | ) | [inline] |
StatsCounter::operator double | ( | ) | const [inline] |
void StatsCounter::operator++ | ( | int | ) | [inline] |
StatsCounterType StatsCounter::num [private] |
Definition at line 64 of file stats.h.
Referenced by Max(), Min(), operator double(), operator++(), and StatsCounter().