Records an atomic event through the currently registered EventCollector.
| 88 | |
| 89 | // Records an atomic event through the currently registered EventCollector. |
| 90 | inline void RecordEvent(EventCategory category, uint64 arg) { |
| 91 | if (auto collector = GetEventCollector(category)) { |
| 92 | collector->RecordEvent(arg); |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | // Records an event for the duration of the instance lifetime through the |
| 97 | // currently registered EventCollector. |
no test coverage detected