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

Function allEvents

flow/Trace.cpp:620–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618}
619
620std::vector<TraceEventFields> allEvents(std::map<std::string, TraceEventFields> const& data) {
621 std::vector<TraceEventFields> all;
622 for (auto it = data.begin(); it != data.end(); it++) {
623 all.push_back(it->second);
624 }
625 return all;
626}
627
628std::vector<TraceEventFields> LatestEventCache::getAll() {
629 return allEvents(latest[getAddressIndex()]);

Callers 2

getAllMethod · 0.85
getAllUnsafeMethod · 0.85

Calls 3

beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected