Searched refs:mCountersFd (Results 1 – 2 of 2) sorted by relevance
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()106 if (mCountersFd[CPU_CYCLES] > 0) { in resetEvents()116 if (mCountersFd[DCACHE_REFS] > 0) { in resetEvents()126 if (mCountersFd[DCACHE_MISSES] > 0) { in resetEvents()136 if (mCountersFd[BRANCHES] > 0) { in resetEvents()146 if (mCountersFd[BRANCH_MISSES] > 0) { in resetEvents()157 if (mCountersFd[ICACHE_REFS] > 0) { in resetEvents()[all …]
80 bool isValid() const { return mCountersFd[0] >= 0; } in isValid()171 int fd = mCountersFd[0]; in reset()176 int fd = mCountersFd[0]; in start()181 int fd = mCountersFd[0]; in stop()187 ssize_t n = read(mCountersFd[0], &counters, sizeof(Counters)); in readCounters()194 if (mCountersFd[i] >= 0) { in readCounters()211 return (mCountersFd[BRANCHES] >= 0) && (mCountersFd[BRANCH_MISSES] >= 0); in hasBranchRates()215 return (mCountersFd[ICACHE_REFS] >= 0) && (mCountersFd[ICACHE_MISSES] >= 0); in hasICacheRates()223 std::array<int, EVENT_COUNT> mCountersFd; variable