MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / RecordEvent

Function RecordEvent

tensorflow/core/platform/tracing.h:90–94  ·  view source on GitHub ↗

Records an atomic event through the currently registered EventCollector.

Source from the content-addressed store, hash-verified

88
89// Records an atomic event through the currently registered EventCollector.
90inline 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.

Callers 8

StartMethod · 0.85
StopMethod · 0.85
RecordMethod · 0.85
CreateTaskMethod · 0.85
SchedClosureFunction · 0.85
CreateTaskMethod · 0.85

Calls 2

GetEventCollectorFunction · 0.85
RecordEventMethod · 0.45

Tested by

no test coverage detected