| 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); |