Lines Matching refs:packages

1840 	struct pkg_data packages;  member
3126 format_counters(&average.threads, &average.cores, &average.packages); in format_all_counters()
3581 average.packages.pkg_wtd_core_c0 += p->pkg_wtd_core_c0; in sum_counters()
3583 average.packages.pkg_any_core_c0 += p->pkg_any_core_c0; in sum_counters()
3585 average.packages.pkg_any_gfxe_c0 += p->pkg_any_gfxe_c0; in sum_counters()
3587 average.packages.pkg_both_core_gfxe_c0 += p->pkg_both_core_gfxe_c0; in sum_counters()
3589 average.packages.pc2 += p->pc2; in sum_counters()
3591 average.packages.pc3 += p->pc3; in sum_counters()
3593 average.packages.pc6 += p->pc6; in sum_counters()
3595 average.packages.pc7 += p->pc7; in sum_counters()
3596 average.packages.pc8 += p->pc8; in sum_counters()
3597 average.packages.pc9 += p->pc9; in sum_counters()
3598 average.packages.pc10 += p->pc10; in sum_counters()
3599 average.packages.die_c6 += p->die_c6; in sum_counters()
3601 average.packages.cpu_lpi = p->cpu_lpi; in sum_counters()
3602 average.packages.sys_lpi = p->sys_lpi; in sum_counters()
3604 rapl_counter_accumulate(&average.packages.energy_pkg, &p->energy_pkg); in sum_counters()
3605 rapl_counter_accumulate(&average.packages.energy_dram, &p->energy_dram); in sum_counters()
3606 rapl_counter_accumulate(&average.packages.energy_cores, &p->energy_cores); in sum_counters()
3607 rapl_counter_accumulate(&average.packages.energy_gfx, &p->energy_gfx); in sum_counters()
3609 average.packages.gfx_rc6_ms = p->gfx_rc6_ms; in sum_counters()
3610 average.packages.uncore_mhz = p->uncore_mhz; in sum_counters()
3611 average.packages.gfx_mhz = p->gfx_mhz; in sum_counters()
3612 average.packages.gfx_act_mhz = p->gfx_act_mhz; in sum_counters()
3613 average.packages.sam_mc6_ms = p->sam_mc6_ms; in sum_counters()
3614 average.packages.sam_mhz = p->sam_mhz; in sum_counters()
3615 average.packages.sam_act_mhz = p->sam_act_mhz; in sum_counters()
3617 average.packages.pkg_temp_c = MAX(average.packages.pkg_temp_c, p->pkg_temp_c); in sum_counters()
3619 rapl_counter_accumulate(&average.packages.rapl_pkg_perf_status, &p->rapl_pkg_perf_status); in sum_counters()
3620 rapl_counter_accumulate(&average.packages.rapl_dram_perf_status, &p->rapl_dram_perf_status); in sum_counters()
3624 average.packages.counter[i] = p->counter[i]; in sum_counters()
3626 average.packages.counter[i] += p->counter[i]; in sum_counters()
3631 average.packages.perf_counter[i] = p->perf_counter[i]; in sum_counters()
3633 average.packages.perf_counter[i] += p->perf_counter[i]; in sum_counters()
3637 average.packages.pmt_counter[i] += p->pmt_counter[i]; in sum_counters()
3654 clear_counters(&average.threads, &average.cores, &average.packages); in compute_average()
3676 average.packages.pkg_wtd_core_c0 /= topo.allowed_packages; in compute_average()
3678 average.packages.pkg_any_core_c0 /= topo.allowed_packages; in compute_average()
3680 average.packages.pkg_any_gfxe_c0 /= topo.allowed_packages; in compute_average()
3682 average.packages.pkg_both_core_gfxe_c0 /= topo.allowed_packages; in compute_average()
3684 average.packages.pc2 /= topo.allowed_packages; in compute_average()
3686 average.packages.pc3 /= topo.allowed_packages; in compute_average()
3688 average.packages.pc6 /= topo.allowed_packages; in compute_average()
3690 average.packages.pc7 /= topo.allowed_packages; in compute_average()
3692 average.packages.pc8 /= topo.allowed_packages; in compute_average()
3693 average.packages.pc9 /= topo.allowed_packages; in compute_average()
3694 average.packages.pc10 /= topo.allowed_packages; in compute_average()
3695 average.packages.die_c6 /= topo.allowed_packages; in compute_average()
3720 if (average.packages.counter[i] > 9999999) in compute_average()
3723 average.packages.counter[i] /= topo.allowed_packages; in compute_average()
3749 if (average.packages.perf_counter[i] > 9999999) in compute_average()
3752 average.packages.perf_counter[i] /= topo.allowed_packages; in compute_average()
3762 average.packages.pmt_counter[i] /= topo.allowed_packages; in compute_average()