Searched refs:pkg_no (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/tools/power/x86/turbostat/ |
D | turbostat.c | 222 #define GET_THREAD(thread_base, thread_no, core_no, node_no, pkg_no) \ argument 224 ((pkg_no) * \ 230 #define GET_CORE(core_base, core_no, node_no, pkg_no) \ argument 232 ((pkg_no) * topo.nodes_per_pkg * topo.cores_per_node) + \ 237 #define GET_PKG(pkg_base, pkg_no) (pkg_base + pkg_no) argument 312 int retval, pkg_no, core_no, thread_no, node_no; in for_all_cpus() local 314 for (pkg_no = 0; pkg_no < topo.num_packages; ++pkg_no) { in for_all_cpus() 326 pkg_no); in for_all_cpus() 332 node_no, pkg_no); in for_all_cpus() 333 p = GET_PKG(pkg_base, pkg_no); in for_all_cpus() [all …]
|