Lines Matching refs:mCountersFd
56 std::uninitialized_fill(mCountersFd.begin(), mCountersFd.end(), -1); in Profiler()
61 for (int fd : mCountersFd) { in ~Profiler()
70 for (int& fd : mCountersFd) { in resetEvents()
98 mCountersFd[INSTRUCTIONS] = fd; in resetEvents()
105 mCountersFd[CPU_CYCLES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
106 if (mCountersFd[CPU_CYCLES] > 0) { in resetEvents()
115 mCountersFd[DCACHE_REFS] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
116 if (mCountersFd[DCACHE_REFS] > 0) { in resetEvents()
125 mCountersFd[DCACHE_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
126 if (mCountersFd[DCACHE_MISSES] > 0) { in resetEvents()
135 mCountersFd[BRANCHES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
136 if (mCountersFd[BRANCHES] > 0) { in resetEvents()
145 mCountersFd[BRANCH_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
146 if (mCountersFd[BRANCH_MISSES] > 0) { in resetEvents()
156 mCountersFd[ICACHE_REFS] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
157 if (mCountersFd[ICACHE_REFS] > 0) { in resetEvents()
166 mCountersFd[ICACHE_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
167 if (mCountersFd[ICACHE_MISSES] > 0) { in resetEvents()
177 mCountersFd[ICACHE_REFS] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
178 if (mCountersFd[ICACHE_REFS] > 0) { in resetEvents()
188 mCountersFd[ICACHE_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents()
189 if (mCountersFd[ICACHE_MISSES] > 0) { in resetEvents()