Lines Matching refs:countEvent
341 const std::unique_ptr<PerfEvents::CountEvent> &countEvent, std::string eventName) in GetCommentConfigName() argument
344 if (countEvent == nullptr || eventName.length() == 0) { in GetCommentConfigName()
347 if (countEvent->userOnly) { in GetCommentConfigName()
349 } else if (countEvent->kernelOnly) { in GetCommentConfigName()
394 …string SubCommandStat::GetDetailComments(const std::unique_ptr<PerfEvents::CountEvent> &countEvent, in GetDetailComments() argument
400 if (configName == GetCommentConfigName(countEvent, "sw-cpu-clock")) { in GetDetailComments()
408 if (configName == GetCommentConfigName(countEvent, "sw-task-clock")) { in GetDetailComments()
409 comment += countEvent->used_cpus * scale; in GetDetailComments()
412 if (configName == GetCommentConfigName(countEvent, "hw-cpu-cycles")) { in GetDetailComments()
424 …if (configName == GetCommentConfigName(countEvent, "hw-instructions") && summary.eventCount != 0) { in GetDetailComments()
433 if (configName == GetCommentConfigName(countEvent, "hw-branch-misses")) { in GetDetailComments()