Searched refs:AddEvent (Results 1 – 5 of 5) sorted by relevance
/system/extras/simpleperf/ |
D | IOEventLoop.cpp | 82 return AddEvent(fd, EV_READ | EV_PERSIST, nullptr, callback); in AddReadEvent() 90 return AddEvent(fd, EV_WRITE | EV_PERSIST, nullptr, callback); in AddWriteEvent() 95 return AddEvent(sig, EV_SIGNAL | EV_PERSIST, nullptr, callback) != nullptr; in AddSignalEvent() 110 return AddEvent(-1, EV_PERSIST, &duration, callback) != nullptr; in AddPeriodicEvent() 113 IOEventRef IOEventLoop::AddEvent(int fd_or_sig, short events, timeval* timeout, in AddEvent() function in IOEventLoop
|
D | record_lib_test.cpp | 43 ASSERT_TRUE(perf->AddEvent("cpu-cycles")); in TEST() 44 ASSERT_TRUE(perf->AddEvent("cpu-cycles:u")); in TEST() 45 ASSERT_TRUE(perf->AddEvent("cpu-cycles:k")); in TEST() 69 ASSERT_TRUE(perf->AddEvent("cpu-cycles")); in TEST() 100 ASSERT_TRUE(perf->AddEvent("cpu-cycles")); in TEST() 128 ASSERT_TRUE(perf->AddEvent("cpu-cycles")); in TEST()
|
D | IOEventLoop.h | 77 IOEventRef AddEvent(int fd_or_sig, short events, timeval* timeout,
|
D | record_lib_interface.cpp | 65 bool AddEvent(const std::string& name) override { in AddEvent() function in simpleperf::PerfEventSetImpl 267 bool PerfEventSet::AddEvent(const std::string&) { in AddEvent() function in simpleperf::PerfEventSet
|
/system/extras/simpleperf/include/ |
D | simpleperf.h | 73 virtual bool AddEvent(const std::string& name);
|