This class accumulates counter values from TraceCollection instances.
More...
#include <counterAccumulator.h>
|
| TraceCounterAccumulator ()=default |
| Constructor.
|
|
const CounterValuesMap & | GetCounters () const |
| Returns a map of the counter values over time.
|
|
TRACE_API void | SetCurrentValues (const CounterMap &) |
| Sets the current value of the counters.
|
|
const CounterMap & | GetCurrentValues () const |
| Returns the current value of the counters.
|
|
TRACE_API void | Update (const TraceCollection &collection) |
| Reads events /p collection and updates the current values of the counters.
|
|
This class accumulates counter values from TraceCollection instances.
A TraceCounterAccumulator instance can accumulate counters from multiple collections or the state of the counters can be set explicitly through SetCurrentValues().
Definition at line 50 of file counterAccumulator.h.
◆ CounterMap
◆ CounterValues
◆ CounterValuesMap
◆ TraceCounterAccumulator()
◆ _AcceptsCategory()
Determines whether or not counter events with id
should be processed.
◆ GetCounters()
const CounterValuesMap & GetCounters |
( |
| ) |
const |
|
inline |
◆ GetCurrentValues()
const CounterMap & GetCurrentValues |
( |
| ) |
const |
|
inline |
◆ SetCurrentValues()
TRACE_API void SetCurrentValues |
( |
const CounterMap & |
| ) |
|
Sets the current value of the counters.
◆ Update()
Reads events /p collection and updates the current values of the counters.
The documentation for this class was generated from the following file: