Searched refs:core_base (Results 1 – 1 of 1) sorted by relevance
/tools/power/x86/turbostat/ |
D | turbostat.c | 172 #define GET_CORE(core_base, core_no, pkg_no) \ argument 173 (core_base + (pkg_no) * topo.num_cores_per_pkg + (core_no)) 206 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus() argument 223 c = GET_CORE(core_base, core_no, pkg_no); in for_all_cpus() 1306 struct core_data *core_base, struct pkg_data *pkg_base, in for_all_cpus_2() argument 1327 c = GET_CORE(core_base, core_no, pkg_no); in for_all_cpus_2() 2240 void init_counter(struct thread_data *thread_base, struct core_data *core_base, in init_counter() argument 2249 c = GET_CORE(core_base, core_num, pkg_num); in init_counter()
|