Home
last modified time | relevance | path

Searched refs:AddEvent (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
DIOEventLoop.cpp82 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
Drecord_lib_test.cpp43 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()
DIOEventLoop.h77 IOEventRef AddEvent(int fd_or_sig, short events, timeval* timeout,
Drecord_lib_interface.cpp65 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/
Dsimpleperf.h73 virtual bool AddEvent(const std::string& name);