|
Ninja
|
A scoped object for recording a metric across the body of a function. More...
#include <metrics.h>
Public Member Functions | |
| ScopedMetric (Metric *metric) | |
| ~ScopedMetric () | |
Private Attributes | |
| Metric * | metric_ |
| int64_t | start_ |
| Timestamp when the measurement started. More... | |
A scoped object for recording a metric across the body of a function.
Used by the METRIC_RECORD macro.
|
explicit |
Definition at line 57 of file metrics.cc.
| ScopedMetric::~ScopedMetric | ( | ) |
Definition at line 63 of file metrics.cc.
|
private |