Searched refs:pkg_no (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/power/x86/turbostat/ |
D | turbostat.c | 1649 #define GET_THREAD(thread_base, thread_no, core_no, node_no, pkg_no) \ argument 1651 ((pkg_no) * \ 1657 #define GET_CORE(core_base, core_no, node_no, pkg_no) \ argument 1659 ((pkg_no) * topo.nodes_per_pkg * topo.cores_per_node) + \ 1663 #define GET_PKG(pkg_base, pkg_no) (pkg_base + pkg_no) argument 1901 int retval, pkg_no, core_no, thread_no, node_no; in for_all_cpus() local 1903 for (pkg_no = 0; pkg_no < topo.num_packages; ++pkg_no) { in for_all_cpus() 1910 t = GET_THREAD(thread_base, thread_no, core_no, node_no, pkg_no); in for_all_cpus() 1915 c = GET_CORE(core_base, core_no, node_no, pkg_no); in for_all_cpus() 1916 p = GET_PKG(pkg_base, pkg_no); in for_all_cpus() [all …]
|