| 57 | }; |
| 58 | |
| 59 | std::vector<double> timing_data_vector(const time_sink_to_duration_map &timers) { |
| 60 | std::vector<double> ret; |
| 61 | for (const auto &desc_ts : DescriptionByTimeSink) { |
| 62 | auto it = timers.find(desc_ts.first); |
| 63 | ret.push_back((it != timers.end()) ? it->second : 0.); |
| 64 | } |
| 65 | return ret; |
| 66 | } |
| 67 | |
| 68 | std::vector<double> timing_data_vector_from_all(const time_sink_to_duration_map &timers) { |
| 69 | std::vector<double> time_spent_vector = timing_data_vector(timers); |
no outgoing calls
no test coverage detected