|
Ninja
|
The singleton that stores metrics and prints the report. More...
#include <metrics.h>
Public Member Functions | |
| Metric * | NewMetric (const string &name) |
| void | Report () |
| Print a summary report to stdout. More... | |
Private Attributes | |
| vector< Metric * > | metrics_ |
| Metric * Metrics::NewMetric | ( | const string & | name | ) |
Definition at line 90 of file metrics.cc.
References Metric::count, metrics_, Metric::name, and Metric::sum.
| void Metrics::Report | ( | ) |
Print a summary report to stdout.
Definition at line 99 of file metrics.cc.
References Metric::count, metrics_, Metric::name, and Metric::sum.
|
private |
Definition at line 58 of file metrics.h.
Referenced by NewMetric(), and Report().
1.8.7