|
Ninja
|
The Metrics module is used for the debug mode that dumps timing stats of various actions. More...
#include <metrics.h>
Public Attributes | |
| int | count |
| Number of times we've hit the code path. More... | |
| string | name |
| int64_t | sum |
| Total time (in micros) we've spent on the code path. More... | |
The Metrics module is used for the debug mode that dumps timing stats of various actions.
To use, see METRIC_RECORD below. A single metrics we're tracking, like "depfile load time".
| int Metric::count |
Number of times we've hit the code path.
Definition at line 31 of file metrics.h.
Referenced by Metrics::NewMetric(), Metrics::Report(), and ScopedMetric::~ScopedMetric().
| string Metric::name |
Definition at line 29 of file metrics.h.
Referenced by Metrics::NewMetric(), and Metrics::Report().
| int64_t Metric::sum |
Total time (in micros) we've spent on the code path.
Definition at line 33 of file metrics.h.
Referenced by Metrics::NewMetric(), Metrics::Report(), and ScopedMetric::~ScopedMetric().
1.8.7