Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_selection_set_test.cpp26 ASSERT_TRUE(event_selection_set.AddEventType("cpu-clock:u")); in TEST()
28 ASSERT_TRUE(event_selection_set.AddEventType("page-faults:u")); in TEST()
50 ASSERT_TRUE(event_selection_set.AddEventType("cpu-clock:u")); in TEST()
51 ASSERT_TRUE(event_selection_set.AddEventType("context-switches", SampleRate(0, 1))); in TEST()
67 ASSERT_TRUE(event_selection_set.AddEventType("cpu-clock:u")); in TEST()
69 ASSERT_TRUE(event_selection_set.AddEventType("page-faults:u")); in TEST()
Drecord_file_test.cpp43 void AddEventType(const std::string& event_type_str) { in AddEventType() function in RecordFileTest
65 AddEventType("cpu-cycles"); in TEST_F()
114 AddEventType("cpu-cycles"); in TEST_F()
115 AddEventType("cpu-clock"); in TEST_F()
116 AddEventType("task-clock"); in TEST_F()
137 AddEventType("cpu-cycles"); in TEST_F()
162 AddEventType("cpu-cycles"); in TEST_F()
193 AddEventType("cpu-cycles"); in TEST_F()
Devent_selection_set.h110 bool AddEventType(const std::string& event_name);
111 bool AddEventType(const std::string& event_name, const SampleRate& sample_rate);
Dcmd_stat_test.cpp255 ASSERT_TRUE(set.AddEventType("cpu-cycles")); in TEST()
315 ASSERT_TRUE(set.AddEventType("cpu-cycles")); in TEST()
321 ASSERT_TRUE(set2.AddEventType("instructions")); in TEST()
Drecord_lib_interface.cpp141 if (!set->AddEventType(name)) { in CreateEventSelectionSet()
Devent_selection_set.cpp279 bool EventSelectionSet::AddEventType(const std::string& event_name) { in AddEventType() function in simpleperf::EventSelectionSet
283 bool EventSelectionSet::AddEventType(const std::string& event_name, const SampleRate& sample_rate) { in AddEventType() function in simpleperf::EventSelectionSet
Dcmd_stat.cpp750 if (!event_selection_set_.AddEventType(event_type)) { in ParseOptions()
865 if (!event_selection_set_.AddEventType(name)) { in AddDefaultMeasuredEventTypes()
Dcmd_monitor.cpp405 if (!event_selection_set_.AddEventType(event_type)) { in ParseOptions()
Dcmd_record.cpp586 if (!event_selection_set_.AddEventType(event_type)) { in PrepareRecording()
1284 if (!event_selection_set_.AddEventType(event_type)) { in ParseOptions()
1409 if (!event_selection_set_.AddEventType("sched:sched_switch", SampleRate(0, 1))) { in TraceOffCpu()