Home
last modified time | relevance | path

Searched refs:perf_event_open (Results 1 – 3 of 3) sorted by relevance

/system/extras/tests/icachetest/
DProfiler.cpp41 static int perf_event_open(struct perf_event_attr* hw_event, pid_t pid, in perf_event_open() function
94 int fd = perf_event_open(&pe, 0, -1, -1, 0); in resetEvents()
105 mCountersFd[CPU_CYCLES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
115 mCountersFd[DCACHE_REFS] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
125 mCountersFd[DCACHE_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
135 mCountersFd[BRANCHES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
145 mCountersFd[BRANCH_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
156 mCountersFd[ICACHE_REFS] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
166 mCountersFd[ICACHE_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
177 mCountersFd[ICACHE_REFS] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
[all …]
/system/extras/simpleperf/
Devent_fd.cpp41 static int perf_event_open(const perf_event_attr& attr, pid_t pid, int cpu, in perf_event_open() function
63 int perf_event_fd = perf_event_open(real_attr, tid, cpu, group_fd, 0); in OpenEventFile()
DREADME.md23 perf_event_open system call, which simpleperf uses.