Go to the source code of this file.
Namespaces | |
namespace | stats |
Data Structures | |
class | stats::op_t |
Describes a particular operation, such as a kind of drawing. More... | |
class | stats::stats |
Sums up the time taken by each operation. More... | |
class | stats::op_sentry |
Sentry class: wraps timing of one operation, including save/restore for nested operations. More... | |
Functions | |
double | stats::time (void) |
Return the wall time, in seconds. | |
op_t | stats::time_op (const char *shortName, const char *desc) |
Define a new timing operation. | |
op_t | stats::count_op (const char *shortName, const char *desc, const char *units) |
stats * | stats::get (void) |
Return the current stats object. | |
op_t | stats::swap (op_t op) |
Start running this operation. Returns the old operation that was running. |