HomeSort by relevance Sort by last modified time
    Searched defs:EventFd (Results 1 - 2 of 2) sorted by null

  /system/extras/simpleperf/
event_fd.h 37 // EventFd represents an opened perf_event_file.
38 class EventFd {
40 static std::unique_ptr<EventFd> OpenEventFileForProcess(const perf_event_attr& attr, pid_t pid);
41 static std::unique_ptr<EventFd> OpenEventFileForCpu(const perf_event_attr& attr, int cpu);
42 static std::unique_ptr<EventFd> OpenEventFile(const perf_event_attr& attr, pid_t pid, int cpu);
44 ~EventFd();
75 EventFd(int perf_event_fd, const std::string& event_name, pid_t pid, int cpu)
98 DISALLOW_COPY_AND_ASSIGN(EventFd);
event_fd.cpp 40 std::unique_ptr<EventFd> EventFd::OpenEventFileForProcess(const perf_event_attr& attr, pid_t pid) {
44 std::unique_ptr<EventFd> EventFd::OpenEventFileForCpu(const perf_event_attr& attr, int cpu) {
48 std::unique_ptr<EventFd> EventFd::OpenEventFile(const perf_event_attr& attr, pid_t pid, int cpu) {
69 return std::unique_ptr<EventFd>(new EventFd(perf_event_fd, event_name, pid, cpu));
72 EventFd::~EventFd() {
    [all...]

Completed in 72 milliseconds