Lines Matching full:packages
1879 struct pkg_data packages; member
3189 format_counters(&average.threads, &average.cores, &average.packages); in format_all_counters()
3649 average.packages.pkg_wtd_core_c0 += p->pkg_wtd_core_c0; in sum_counters()
3651 average.packages.pkg_any_core_c0 += p->pkg_any_core_c0; in sum_counters()
3653 average.packages.pkg_any_gfxe_c0 += p->pkg_any_gfxe_c0; in sum_counters()
3655 average.packages.pkg_both_core_gfxe_c0 += p->pkg_both_core_gfxe_c0; in sum_counters()
3657 average.packages.pc2 += p->pc2; in sum_counters()
3659 average.packages.pc3 += p->pc3; in sum_counters()
3661 average.packages.pc6 += p->pc6; in sum_counters()
3663 average.packages.pc7 += p->pc7; in sum_counters()
3664 average.packages.pc8 += p->pc8; in sum_counters()
3665 average.packages.pc9 += p->pc9; in sum_counters()
3666 average.packages.pc10 += p->pc10; in sum_counters()
3667 average.packages.die_c6 += p->die_c6; in sum_counters()
3669 average.packages.cpu_lpi = p->cpu_lpi; in sum_counters()
3670 average.packages.sys_lpi = p->sys_lpi; in sum_counters()
3672 rapl_counter_accumulate(&average.packages.energy_pkg, &p->energy_pkg); in sum_counters()
3673 rapl_counter_accumulate(&average.packages.energy_dram, &p->energy_dram); in sum_counters()
3674 rapl_counter_accumulate(&average.packages.energy_cores, &p->energy_cores); in sum_counters()
3675 rapl_counter_accumulate(&average.packages.energy_gfx, &p->energy_gfx); in sum_counters()
3677 average.packages.gfx_rc6_ms = p->gfx_rc6_ms; in sum_counters()
3678 average.packages.uncore_mhz = p->uncore_mhz; in sum_counters()
3679 average.packages.gfx_mhz = p->gfx_mhz; in sum_counters()
3680 average.packages.gfx_act_mhz = p->gfx_act_mhz; in sum_counters()
3681 average.packages.sam_mc6_ms = p->sam_mc6_ms; in sum_counters()
3682 average.packages.sam_mhz = p->sam_mhz; in sum_counters()
3683 average.packages.sam_act_mhz = p->sam_act_mhz; in sum_counters()
3685 average.packages.pkg_temp_c = MAX(average.packages.pkg_temp_c, p->pkg_temp_c); in sum_counters()
3687 rapl_counter_accumulate(&average.packages.rapl_pkg_perf_status, &p->rapl_pkg_perf_status); in sum_counters()
3688 rapl_counter_accumulate(&average.packages.rapl_dram_perf_status, &p->rapl_dram_perf_status); in sum_counters()
3692 average.packages.counter[i] = p->counter[i]; in sum_counters()
3694 average.packages.counter[i] += p->counter[i]; in sum_counters()
3699 average.packages.perf_counter[i] = p->perf_counter[i]; in sum_counters()
3701 average.packages.perf_counter[i] += p->perf_counter[i]; in sum_counters()
3705 average.packages.pmt_counter[i] += p->pmt_counter[i]; in sum_counters()
3722 clear_counters(&average.threads, &average.cores, &average.packages); in compute_average()
3744 average.packages.pkg_wtd_core_c0 /= topo.allowed_packages; in compute_average()
3746 average.packages.pkg_any_core_c0 /= topo.allowed_packages; in compute_average()
3748 average.packages.pkg_any_gfxe_c0 /= topo.allowed_packages; in compute_average()
3750 average.packages.pkg_both_core_gfxe_c0 /= topo.allowed_packages; in compute_average()
3752 average.packages.pc2 /= topo.allowed_packages; in compute_average()
3754 average.packages.pc3 /= topo.allowed_packages; in compute_average()
3756 average.packages.pc6 /= topo.allowed_packages; in compute_average()
3758 average.packages.pc7 /= topo.allowed_packages; in compute_average()
3760 average.packages.pc8 /= topo.allowed_packages; in compute_average()
3761 average.packages.pc9 /= topo.allowed_packages; in compute_average()
3762 average.packages.pc10 /= topo.allowed_packages; in compute_average()
3763 average.packages.die_c6 /= topo.allowed_packages; in compute_average()
3788 if (average.packages.counter[i] > 9999999) in compute_average()
3791 average.packages.counter[i] /= topo.allowed_packages; in compute_average()
3817 if (average.packages.perf_counter[i] > 9999999) in compute_average()
3820 average.packages.perf_counter[i] /= topo.allowed_packages; in compute_average()
3830 average.packages.pmt_counter[i] /= topo.allowed_packages; in compute_average()
7031 /* units on package 0, verify later other packages match */ in rapl_probe_intel()
8455 fprintf(outf, "max_package_id %d, sizing for %d packages\n", max_package_id, topo.num_packages); in topology_probe()