Home
last modified time | relevance | path

Searched refs:event_names (Results 1 – 7 of 7) sorted by relevance

/system/extras/perf2cfg/tests/
Dtest_events.py23 event_names = events.EVENT_SORT_ORDER.copy()
24 random.shuffle(event_names)
25 got = events.sort_event_names(event_names)
/system/extras/perf2cfg/perf2cfg/
Danalyze.py128 def __init__(self, event_names: Optional[Iterable[str]] = None) -> None:
136 if not event_names:
137 event_names = []
139 self.event_names = set(event_names)
168 if self.event_names and event.name not in self.event_names:
Devents.py42 def sort_event_names(event_names: Iterable[str]) -> List[str]:
52 return sorted(event_names,
Dedit.py123 self.event_names = events.sort_event_names(self.analyzer.event_counts)
315 for event_name in self.event_names:
329 for event_name in self.event_names:
351 for event_name in self.event_names:
367 for event_name in self.event_names:
399 for eventno, event_name in enumerate(self.event_names):
/system/extras/simpleperf/scripts/test/
Dreport_lib_test.py73 event_names = set()
75 event_names.add(self.report_lib.GetEventOfCurrentSample().name)
76 self.assertTrue('sched:sched_switch' in event_names)
77 self.assertTrue('cpu-cycles' in event_names)
/system/extras/simpleperf/
Devent_selection_set.h111 bool AddEventGroup(const std::vector<std::string>& event_names, size_t* group_id = nullptr);
Devent_selection_set.cpp255 bool EventSelectionSet::AddEventGroup(const std::vector<std::string>& event_names, in AddEventGroup() argument
260 for (const auto& event_name : event_names) { in AddEventGroup()