Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_file_test.cpp37 void AddEventType(const std::string& event_type_str) { in AddEventType() function in RecordFileTest
60 AddEventType("cpu-cycles"); in TEST_F()
108 AddEventType("cpu-cycles"); in TEST_F()
109 AddEventType("cpu-clock"); in TEST_F()
110 AddEventType("task-clock"); in TEST_F()
130 AddEventType("cpu-cycles"); in TEST_F()
Dcmd_stat_test.cpp231 ASSERT_TRUE(set.AddEventType("cpu-cycles")); in TEST()
286 ASSERT_TRUE(set.AddEventType("cpu-cycles")); in TEST()
291 ASSERT_TRUE(set2.AddEventType("instructions")); in TEST()
Devent_selection_set.h89 bool AddEventType(const std::string& event_name, size_t* group_id = nullptr);
Drecord_lib_interface.cpp139 if (!set->AddEventType(name)) { in CreateEventSelectionSet()
Dcmd_stat.cpp641 if (!event_selection_set_.AddEventType(event_type)) { in ParseOptions()
739 if (!event_selection_set_.AddEventType(name)) { in AddDefaultMeasuredEventTypes()
Dcmd_record.cpp424 if (!event_selection_set_.AddEventType(default_measured_event_type, &group_id)) { in PrepareRecording()
817 if (!event_selection_set_.AddEventType(event_type, &group_id)) { in ParseOptions()
1071 return event_selection_set_.AddEventType("sched:sched_switch"); in TraceOffCpu()
Devent_selection_set.cpp224 bool EventSelectionSet::AddEventType(const std::string& event_name, size_t* group_id) { in AddEventType() function in EventSelectionSet