MCPcopy Create free account
hub / github.com/comaps/comaps / PrintMap

Function PrintMap

tools/track_analyzing/track_analyzer/utils.cpp:59–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void PrintMap(string const & keyName, string const & descr, Stats::NameToCountMapping const & mapping,
60 ostringstream & ss)
61{
62 ss << descr << '\n';
63 if (mapping.empty())
64 {
65 ss << "Map is empty." << endl;
66 return;
67 }
68
69 MappingToCsv(keyName, mapping, true /* printPercentage */, ss);
70}
71} // namespace
72
73namespace track_analyzing

Callers 2

LogNameToCountMappingFunction · 0.85
DebugPrintFunction · 0.85

Calls 2

MappingToCsvFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected