MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / writeTimer

Method writeTimer

cli/processexecutor.cpp:108–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 void writeTimer(const TimerResults* timerResults) const {
109 if (!timerResults)
110 return;
111
112 for (const auto& entry : timerResults->getResults())
113 {
114 for (const auto& d : entry.second) {
115 writeToPipe(REPORT_TIMER, entry.first + ";" + std::to_string(d.count()));
116 }
117 }
118 }
119
120 void writeEnd(const std::string& str) const {
121 writeToPipe(CHILD_END, str);

Callers 1

checkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected