
#include <stats.h>

Public Member Functions | |
| stats () | |
| void | zero (void) |
| Clear all accumulators. | |
| void | add (double val, op_t op) |
| Add this value to this accumulator. | |
| double | get (op_t op) const |
| Look up the value in this accumulator. | |
| void | set (double val, op_t op) |
| void | add (const stats &s, double scale=1.0) |
| Add everything in this object, scaled by scale, to us. | |
| void | print (FILE *f, const char *what, double scale=1.0, double thresh=0.001) const |
| Print these stats, scaled by scale, where they exceed threshold. | |
Data Fields | |
| double | t [op_max] |
| Accumulators for each op_t:. | |
Definition at line 53 of file stats.h.
| void stats::stats::zero | ( | void | ) | [inline] |
Clear all accumulators.
Definition at line 61 of file stats.h.
References stats::op_len, and t.
Referenced by stats(), and LV3D_PerfManager::zero().
Add this value to this accumulator.
Definition at line 65 of file stats.h.
References t.
Referenced by LV3D0_Deposit(), and LV3D_PerfManager::zero().
Look up the value in this accumulator.
Definition at line 68 of file stats.h.
References t.
Referenced by printStats().
Add everything in this object, scaled by scale, to us.
Definition at line 72 of file stats.h.
References stats::op_len, s, and t.
| double stats::stats::t[op_max] |
1.5.5