Lines Matching defs:perKey
246 void SubCommandStat::GetPerKey(std::string &perKey, const PerfEvents::Summary &summary)
248 perKey = "";
250 perKey += std::to_string(summary.cpu);
251 perKey += "|";
254 perKey += std::to_string(summary.tid);
262 std::string perKey = "";
272 GetPerKey(perKey, it);
273 if (perMaps.count(perKey) == 0) {
276 perMaps[perKey] = std::move(perMap);
278 if (perMaps[perKey] == nullptr) {
281 perMaps[perKey]->configName = GetDetailComments(event->second, perMaps[perKey]->commentSum,
283 perMaps[perKey]->eventCountSum += it.eventCount;
285 perMaps[perKey]->scaleSum = 1 / (static_cast<double>(it.timeEnabled) / it.timeRunning);