Lines Matching refs:perf_event_open
41 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()
188 mCountersFd[ICACHE_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()