OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IOEventLoop
(Results
1 - 17
of
17
) sorted by null
/system/extras/simpleperf/
IOEventLoop.cpp
17
#include "
IOEventLoop
.h"
25
IOEventLoop
* loop;
30
IOEvent(
IOEventLoop
* loop, const std::function<bool()>& callback)
40
IOEventLoop
::
IOEventLoop
() : ebase_(nullptr), has_error_(false) {}
42
IOEventLoop
::~
IOEventLoop
() {
49
bool
IOEventLoop
::EnsureInit() {
60
void
IOEventLoop
::EventCallbackFn(int, short, void* arg) {
77
IOEventRef
IOEventLoop
::AddReadEvent(int fd
[
all
...]
IOEventLoop_test.cpp
17
#include "
IOEventLoop
.h"
25
TEST(
IOEventLoop
, read) {
28
IOEventLoop
loop;
64
TEST(
IOEventLoop
, write) {
67
IOEventLoop
loop;
100
TEST(
IOEventLoop
, signal) {
101
IOEventLoop
loop;
122
TEST(
IOEventLoop
, periodic) {
127
IOEventLoop
loop;
147
TEST(
IOEventLoop
, read_and_del_event)
[
all
...]
IOEventLoop.h
30
//
IOEventLoop
is a class wrapper of libevent, it monitors events happened,
33
class
IOEventLoop
{
35
IOEventLoop
();
36
~
IOEventLoop
();
InplaceSamplerClient.h
36
bool StartPolling(
IOEventLoop
& loop, const std::function<bool(Record*)>& record_callback,
38
bool StopProfiling(
IOEventLoop
& loop, const std::function<bool()>& close_callback);
workload_test.cpp
21
#include "
IOEventLoop
.h"
26
IOEventLoop
loop;
45
IOEventLoop
loop;
66
IOEventLoop
loop;
UnixSocket.h
30
#include "
IOEventLoop
.h"
122
// UnixSocketConnection binds to a
IOEventLoop
, so it writes messages to fd
128
// different threads, only the thread running
IOEventLoop
::RunLoop() can
131
// the same thread running
IOEventLoop
::RunLoop().
157
bool PrepareForIO(
IOEventLoop
& loop,
195
if (!
IOEventLoop
::EnableEvent(write_event_)) {
205
if (!
IOEventLoop
::DisableEvent(write_event_)) {
event_selection_set.h
32
#include "
IOEventLoop
.h"
70
: for_stat_cmd_(for_stat_cmd), mmap_pages_(0), loop_(new
IOEventLoop
) {}
108
IOEventLoop
* GetIOEventLoop() {
164
std::unique_ptr<
IOEventLoop
> loop_;
UnixSocket_test.cpp
83
IOEventLoop
loop;
112
IOEventLoop
loop;
146
IOEventLoop
loop;
181
IOEventLoop
loop;
event_fd.h
28
#include "
IOEventLoop
.h"
82
bool StartPolling(
IOEventLoop
& loop, const std::function<bool()>& callback);
InplaceSamplerClient.cpp
70
bool InplaceSamplerClient::StartPolling(
IOEventLoop
& loop,
125
bool InplaceSamplerClient::StopProfiling(
IOEventLoop
& loop,
UnixSocket.cpp
28
#include "
IOEventLoop
.h"
106
IOEventLoop
& loop, const std::function<bool(const UnixSocketMessage&)>&
211
if (!
IOEventLoop
::DisableEvent(read_event_)) {
230
//
IOEventLoop
used to register read/write events may have been destroyed.
event_fd.cpp
264
bool EventFd::StartPolling(
IOEventLoop
& loop,
270
bool EventFd::StopPolling() { return
IOEventLoop
::DelEvent(ioevent_ref_); }
inplace_sampler_lib.cpp
93
IOEventLoop
loop_;
Android.mk
114
IOEventLoop
.cpp \
cmd_stat.cpp
39
#include "
IOEventLoop
.h"
397
IOEventLoop
* loop = event_selection_set_.GetIOEventLoop();
cmd_record.cpp
38
#include "
IOEventLoop
.h"
304
IOEventLoop
* loop = event_selection_set_.GetIOEventLoop();
[
all
...]
event_selection_set.cpp
24
#include "
IOEventLoop
.h"
640
loop_.reset(new
IOEventLoop
);
Completed in 137 milliseconds