Searched refs:core_no (Results 1 – 1 of 1) sorted by relevance
/tools/power/x86/turbostat/ |
D | turbostat.c | 168 #define GET_THREAD(thread_base, thread_no, core_no, pkg_no) \ argument 171 (core_no) * topo.num_threads_per_core + (thread_no)) 172 #define GET_CORE(core_base, core_no, pkg_no) \ argument 173 (core_base + (pkg_no) * topo.num_cores_per_pkg + (core_no)) 208 int retval, pkg_no, core_no, thread_no; in for_all_cpus() local 211 for (core_no = 0; core_no < topo.num_cores_per_pkg; ++core_no) { in for_all_cpus() 218 t = GET_THREAD(thread_base, thread_no, core_no, pkg_no); in for_all_cpus() 223 c = GET_CORE(core_base, core_no, pkg_no); in for_all_cpus() 1310 int retval, pkg_no, core_no, thread_no; in for_all_cpus_2() local 1313 for (core_no = 0; core_no < topo.num_cores_per_pkg; ++core_no) { in for_all_cpus_2() [all …]
|