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