Lines Matching refs:countEvent
336 const std::unique_ptr<PerfEvents::CountEvent> &countEvent, std::string eventName) in GetCommentConfigName() argument
339 if (countEvent == nullptr || eventName.length() == 0) { in GetCommentConfigName()
342 if (countEvent->userOnly) { in GetCommentConfigName()
344 } else if (countEvent->kernelOnly) { in GetCommentConfigName()
389 …string SubCommandStat::GetDetailComments(const std::unique_ptr<PerfEvents::CountEvent> &countEvent, in GetDetailComments() argument
395 if (configName == GetCommentConfigName(countEvent, "sw-cpu-clock")) { in GetDetailComments()
403 if (configName == GetCommentConfigName(countEvent, "sw-task-clock")) { in GetDetailComments()
404 comment += countEvent->used_cpus * scale; in GetDetailComments()
407 if (configName == GetCommentConfigName(countEvent, "hw-cpu-cycles")) { in GetDetailComments()
419 …if (configName == GetCommentConfigName(countEvent, "hw-instructions") && summary.eventCount != 0) { in GetDetailComments()
428 if (configName == GetCommentConfigName(countEvent, "hw-branch-misses")) { in GetDetailComments()