Home
last modified time | relevance | path

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

/aosp12/system/extras/simpleperf/
H A DIOEventLoop.h32 typedef IOEvent* IOEventRef; typedef
48 IOEventRef AddReadEvent(int fd, const std::function<bool()>& callback);
52 IOEventRef AddWriteEvent(int fd, const std::function<bool()>& callback);
63 IOEventRef AddPeriodicEvent(timeval duration, const std::function<bool()>& callback);
73 static bool DisableEvent(IOEventRef ref);
75 static bool EnableEvent(IOEventRef ref);
78 static bool DelEvent(IOEventRef ref);
82 IOEventRef AddEvent(int fd_or_sig, int16_t events, timeval* timeout,
H A DIOEventLoop.cpp113 IOEventRef IOEventLoop::AddReadEvent(int fd, const std::function<bool()>& callback) { in AddReadEvent()
120 IOEventRef IOEventLoop::AddWriteEvent(int fd, const std::function<bool()>& callback) { in AddWriteEvent()
140 IOEventRef IOEventLoop::AddPeriodicEvent(timeval duration, const std::function<bool()>& callback) { in AddPeriodicEvent()
144 IOEventRef IOEventLoop::AddEvent(int fd_or_sig, int16_t events, timeval* timeout, in AddEvent()
191 bool IOEventLoop::DisableEvent(IOEventRef ref) { in DisableEvent()
202 bool IOEventLoop::EnableEvent(IOEventRef ref) { in EnableEvent()
215 bool IOEventLoop::DelEvent(IOEventRef ref) { in DelEvent()
H A DIOEventLoop_test.cpp166 IOEventRef ref = loop.AddReadEvent(fd[0], [&]() { in TEST()
191 IOEventRef ref = loop.AddWriteEvent(fd[1], [&]() { in TEST()
228 IOEventRef wait_ref = loop.AddPeriodicEvent(tv, [&]() { return loop.ExitLoop(); }); in TEST()
235 IOEventRef ref = loop.AddPeriodicEvent(tv, [&]() { in TEST()
H A Devent_fd.h148 IOEventRef ioevent_ref_;
H A DJITDebugReader.h220 IOEventRef read_event_ = nullptr;