| 25 | } |
| 26 | |
| 27 | void OpCount::insertOp(const std::string& framework, const std::string& name) { |
| 28 | auto fr = mOps.find(framework); |
| 29 | if (fr == mOps.end()) { |
| 30 | mOps.insert(std::make_pair(framework, std::set<std::string>{name})); |
| 31 | return; |
| 32 | } |
| 33 | fr->second.insert(name); |
| 34 | } |
| 35 | const std::map<std::string, std::set<std::string>>& OpCount::getMap() { |
| 36 | return mOps; |
| 37 | } |
no test coverage detected