![]() |
|
Holds on to a counter key, as well as the global collector for fast lookup. More...
Public Member Functions | |
TraceCounterHolder (const TraceKey &key) | |
Constructor used by TRACE_COUNTER_* macro. More... | |
bool | IsEnabled () const |
Returns whether the TraceCollector is enabled or not. More... | |
void | Record (double value, bool delta) |
Records a counter delta value if the TraceCollector is enabled. More... | |
Holds on to a counter key, as well as the global collector for fast lookup.
|
inlineexplicit |
|
inline |
Returns whether the TraceCollector is enabled or not.
|
inline |
Records a counter delta value
if the TraceCollector is enabled.