Lines Matching defs:package

582 	bool has_per_core_rapl;	/* Indicates cores energy collection is per-core, not per-package. AMD specific for now */
2281 int logical_node_id; /* 0-based count within the package */
2330 * run func(thread, core, package) in topology order
2579 " eg. --add perf/cstate_pkg/c2-residency,package,delta,percent,perfPC2\n"
2583 " {core | package | j,k,l..m,n-p }\n"
3080 outp += sprintf(outp, "package: %d\n", p->package_id);
3453 /* print per-package data only for 1st core in package */
3954 /* calculate package delta only for 1st core in package */
4403 unsigned long long get_legacy_uncore_mhz(int package)
4410 * for this package, use the first die_id that exists
4415 package, die);
5190 /* collect package counters only for 1st core in package */
5912 * return 1 if given CPU is 1st core in package
6102 * run func(thread, core, package) in topology order
7018 fprintf(outf, "Uncore Frequency package%d die%d: %d - %d MHz ", i, j, k / 1000, l / 1000);
7096 fprintf(outf, "Uncore Frequency package%d domain%d cluster%d: %d - %d MHz ", package_id, domain_id,
7351 /* EPB is per-package */
7403 /* MSR_HWP_CAPABILITIES is per-package */
7489 /* per-package */
7624 /* units on package 0, verify later other packages match */
7825 /* Parse top level domains first, including package and psys */
7827 if (strncmp(str, "package", strlen("package")) && strncmp(str, "psys", strlen("psys")))
7863 /* RAPL counters are per package, so print only for 1st thread/package */
8018 /* this is a per-package concept */
9213 /* get package information */
9250 fprintf(outf, "max_core_id %d, sizing for %d cores per package\n", max_core_id, topo.cores_per_node);
9635 errx(1, "%s: %s", __func__, "package");
10215 warnx("ignoring package counter %s", name);
10323 warnx("ignoring package counter perf/%s/%s", perf_device, perf_event);
10406 if (!strncmp(add_command, "package", strlen("package"))) {
10630 } else if (sscanf(add_command + prefix_len, "package%u", &domain_id) == 1) {
10636 printf("%s: invalid value for scope. Expected cpu%%u, core%%u or package%%u.\n",
10970 if (!strcmp(optarg, "package")) {