MCPcopy Create free account
hub / github.com/apple/foundationdb / logToTraceEvent

Method logToTraceEvent

fdbrpc/Stats.actor.cpp:84–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void CounterCollection::logToTraceEvent(TraceEvent& te) const {
85 for (ICounter* c : counters) {
86 te.detail(c->getName().c_str(), c);
87 c->resetInterval();
88 }
89}
90
91ACTOR Future<Void> traceCounters(std::string traceEventName,
92 UID traceEventID,

Callers 4

Future<Void> tssLoggerFunction · 0.80

Calls 4

detailMethod · 0.80
getNameMethod · 0.65
c_strMethod · 0.45
resetIntervalMethod · 0.45

Tested by

no test coverage detected