| 57 | } |
| 58 | |
| 59 | void 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 | |
| 73 | namespace track_analyzing |
no test coverage detected