Lines Matching refs:num_packages
184 int num_packages; member
210 for (pkg_no = 0; pkg_no < topo.num_packages; ++pkg_no) { in for_all_cpus()
856 average.packages.pc2 /= topo.num_packages; in compute_average()
857 average.packages.pc3 /= topo.num_packages; in compute_average()
858 average.packages.pc6 /= topo.num_packages; in compute_average()
859 average.packages.pc7 /= topo.num_packages; in compute_average()
861 average.packages.pc8 /= topo.num_packages; in compute_average()
862 average.packages.pc9 /= topo.num_packages; in compute_average()
863 average.packages.pc10 /= topo.num_packages; in compute_average()
1312 for (pkg_no = 0; pkg_no < topo.num_packages; ++pkg_no) { in for_all_cpus_2()
2185 topo.num_packages = max_package_id + 1; in topology_probe()
2188 max_package_id, topo.num_packages); in topology_probe()
2189 if (!summary_only && topo.num_packages > 1) in topology_probe()
2205 topo.num_packages, sizeof(struct thread_data)); in allocate_counters()
2210 topo.num_cores_per_pkg * topo.num_packages; i++) in allocate_counters()
2213 *c = calloc(topo.num_cores_per_pkg * topo.num_packages, in allocate_counters()
2218 for (i = 0; i < topo.num_cores_per_pkg * topo.num_packages; i++) in allocate_counters()
2221 *p = calloc(topo.num_packages, sizeof(struct pkg_data)); in allocate_counters()
2225 for (i = 0; i < topo.num_packages; i++) in allocate_counters()