| 79 | } |
| 80 | |
| 81 | void Profiler::test_stop() |
| 82 | { |
| 83 | for (auto instrument = _instruments.rbegin(); instrument != _instruments.rend(); instrument++) |
| 84 | { |
| 85 | (*instrument)->test_stop(); |
| 86 | } |
| 87 | |
| 88 | for (const auto &instrument : _instruments) |
| 89 | { |
| 90 | for (const auto &measurement : instrument->test_measurements()) |
| 91 | { |
| 92 | _measurements[instrument->id() + "/" + measurement.first].push_back(measurement.second); |
| 93 | } |
| 94 | _header_data = instrument->instrument_header(); |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | const Profiler::MeasurementsMap &Profiler::measurements() const |
| 99 | { |
no test coverage detected