Lines Matching refs:counter
102 void perf_stat__update_shadow_stats(struct perf_evsel *counter, u64 *count, in perf_stat__update_shadow_stats() argument
105 int ctx = evsel_context(counter); in perf_stat__update_shadow_stats()
107 if (perf_evsel__match(counter, SOFTWARE, SW_TASK_CLOCK) || in perf_stat__update_shadow_stats()
108 perf_evsel__match(counter, SOFTWARE, SW_CPU_CLOCK)) in perf_stat__update_shadow_stats()
110 else if (perf_evsel__match(counter, HARDWARE, HW_CPU_CYCLES)) in perf_stat__update_shadow_stats()
112 else if (perf_stat_evsel__is(counter, CYCLES_IN_TX)) in perf_stat__update_shadow_stats()
114 else if (perf_stat_evsel__is(counter, TRANSACTION_START)) in perf_stat__update_shadow_stats()
116 else if (perf_stat_evsel__is(counter, ELISION_START)) in perf_stat__update_shadow_stats()
118 else if (perf_stat_evsel__is(counter, TOPDOWN_TOTAL_SLOTS)) in perf_stat__update_shadow_stats()
120 else if (perf_stat_evsel__is(counter, TOPDOWN_SLOTS_ISSUED)) in perf_stat__update_shadow_stats()
122 else if (perf_stat_evsel__is(counter, TOPDOWN_SLOTS_RETIRED)) in perf_stat__update_shadow_stats()
124 else if (perf_stat_evsel__is(counter, TOPDOWN_FETCH_BUBBLES)) in perf_stat__update_shadow_stats()
126 else if (perf_stat_evsel__is(counter, TOPDOWN_RECOVERY_BUBBLES)) in perf_stat__update_shadow_stats()
128 else if (perf_evsel__match(counter, HARDWARE, HW_STALLED_CYCLES_FRONTEND)) in perf_stat__update_shadow_stats()
130 else if (perf_evsel__match(counter, HARDWARE, HW_STALLED_CYCLES_BACKEND)) in perf_stat__update_shadow_stats()
132 else if (perf_evsel__match(counter, HARDWARE, HW_BRANCH_INSTRUCTIONS)) in perf_stat__update_shadow_stats()
134 else if (perf_evsel__match(counter, HARDWARE, HW_CACHE_REFERENCES)) in perf_stat__update_shadow_stats()
136 else if (perf_evsel__match(counter, HW_CACHE, HW_CACHE_L1D)) in perf_stat__update_shadow_stats()
138 else if (perf_evsel__match(counter, HW_CACHE, HW_CACHE_L1I)) in perf_stat__update_shadow_stats()
140 else if (perf_evsel__match(counter, HW_CACHE, HW_CACHE_LL)) in perf_stat__update_shadow_stats()
142 else if (perf_evsel__match(counter, HW_CACHE, HW_CACHE_DTLB)) in perf_stat__update_shadow_stats()
144 else if (perf_evsel__match(counter, HW_CACHE, HW_CACHE_ITLB)) in perf_stat__update_shadow_stats()