OSDN Git Service

simpleperf: add functions to IOEventLoop.
authorYabin Cui <yabinc@google.com>
Wed, 19 Oct 2016 18:04:56 +0000 (11:04 -0700)
committerYabin Cui <yabinc@google.com>
Wed, 19 Oct 2016 18:09:09 +0000 (11:09 -0700)
commita383c11bc5d56a3d245f5a915d3a8122db46b833
tree84a4ae58ffbe1ddb930fd13b4c6095a4a85dc6de
parentb003c9c9ebf6aafd759f3dd7d19515d18f4a0180
simpleperf: add functions to IOEventLoop.

Support Write Event, and add functions to disable/enable Events.

Bug: http://b/30974760
Test: run simpleperf_unit_test.
Change-Id: I563738196fe5849d8cc3bee120707fd14076faa8
simpleperf/IOEventLoop.cpp
simpleperf/IOEventLoop.h
simpleperf/IOEventLoop_test.cpp