Lines Matching defs:countEvent
350 const std::unique_ptr<PerfEvents::CountEvent> &countEvent, std::string eventName)
353 CHECK_TRUE(countEvent == nullptr || eventName.length() == 0, commentConfigName, 0, "");
354 if (countEvent->userOnly) {
356 } else if (countEvent->kernelOnly) {
399 std::string SubCommandStat::GetDetailComments(const std::unique_ptr<PerfEvents::CountEvent> &countEvent,
405 if (configName == GetCommentConfigName(countEvent, "sw-cpu-clock")) {
413 if (configName == GetCommentConfigName(countEvent, "sw-task-clock")) {
414 comment += countEvent->usedCpus * scale;
417 if (configName == GetCommentConfigName(countEvent, "hw-cpu-cycles")) {
429 if (configName == GetCommentConfigName(countEvent, "hw-instructions") && summary.eventCount != 0) {
438 if (configName == GetCommentConfigName(countEvent, "hw-branch-misses")) {