Home
last modified time | relevance | path

Searched refs:thread_no (Results 1 – 1 of 1) sorted by relevance

/tools/power/x86/turbostat/
Dturbostat.c168 #define GET_THREAD(thread_base, thread_no, core_no, pkg_no) \ argument
171 (core_no) * topo.num_threads_per_core + (thread_no))
208 int retval, pkg_no, core_no, thread_no; in for_all_cpus() local
212 for (thread_no = 0; thread_no < in for_all_cpus()
213 topo.num_threads_per_core; ++thread_no) { in for_all_cpus()
218 t = GET_THREAD(thread_base, thread_no, core_no, pkg_no); in for_all_cpus()
1310 int retval, pkg_no, core_no, thread_no; in for_all_cpus_2() local
1314 for (thread_no = 0; thread_no < in for_all_cpus_2()
1315 topo.num_threads_per_core; ++thread_no) { in for_all_cpus_2()
1320 t = GET_THREAD(thread_base, thread_no, core_no, pkg_no); in for_all_cpus_2()
[all …]