#include <EventRecorder.h>
Definition at line 74 of file EventRecorder.h.
◆ EventRecorder()
EventRecorder::EventRecorder |
( |
| ) |
|
|
default |
◆ counter_events()
const std::vector< CounterEvent > & EventRecorder::counter_events |
( |
| ) |
const |
|
inline |
◆ duration_events()
const std::vector< std::unique_ptr< DurationEvent > > & EventRecorder::duration_events |
( |
| ) |
const |
|
inline |
◆ emit() [1/2]
Definition at line 26 of file EventRecorder.cc.
27{
28 std::lock_guard<std::mutex> lock{_mu};
29
30 _counter_events.push_back(evt);
31}
◆ emit() [2/2]
void EventRecorder::emit |
( |
std::unique_ptr< DurationEvent > && |
evt | ) |
|
The documentation for this class was generated from the following files: