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 92 of file metrics.cc.
References Metric::count, Metric::name, and Metric::sum.
void Metrics::Report | ( | ) |
Print a summary report to stdout.
Definition at line 101 of file metrics.cc.
References Metric::count, Metric::name, and Metric::sum.