Lines Matching refs:first
146 auto &samplevec = countmap[ekv.first];
147 samplevec.emplace_back(ekv.second, pkv.first);
150 std::sort(kv.second.begin(), kv.second.end(), [](auto &a, auto &b) {return (a.first < b.first);});
153 auto &name = eventnamemap[kv.first];
154 auto rate = ratemap[kv.first];
155 std::cout << "idx: " << kv.first << " name: " << name << " rate: " << rate << std::endl;
159 std::cout << val.second << ": " << val.first << std::endl;
165 auto &name = eventnamemap[kv.first];
166 auto rate = ratemap[kv.first];
171 std::cout << "\t" << largest.second << ": " << largest.first*rate << std::endl;