Home
last modified time | relevance | path

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

/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c508 int pkg_num; in for_packages() local
510 for (pkg_num = 0; pkg_num <= max_pkg_num; ++pkg_num) { in for_packages()
511 if (pkg_set & (1UL << pkg_num)) in for_packages()
512 func(pkg_num); in for_packages()
/tools/power/x86/turbostat/
Dturbostat.c4452 int pkg_num, int cpu_id) in init_counter() argument
4458 t = GET_THREAD(thread_base, thread_num, core_num, pkg_num); in init_counter()
4459 c = GET_CORE(core_base, core_num, pkg_num); in init_counter()
4460 p = GET_PKG(pkg_base, pkg_num); in init_counter()
4470 p->package_id = pkg_num; in init_counter()