Lines Matching defs:cpu

17 	 * /sys/devices/system/cpu/cpuX/topology/physical_package_id.
20 /** The die id as read from /sys/devices/system/cpu/cpuX/topology/die_id. */
22 /** The cluster id as read from /sys/devices/system/cpu/cpuX/topology/cluster_id */
24 /** The cache level as read from /sys/devices/system/cpu/cpuX/cache/indexY/level */
28 * /sys/devices/system/cpu/cpuX/cache/indexY/shared_cpu_list
31 /** The core id as read from /sys/devices/system/cpu/cpuX/topology/core_id. */
34 struct perf_cpu cpu;
71 return perf_cpu_map__nr(cpus) == 1 && perf_cpu_map__cpu(cpus, 0).cpu == -1;
78 int cpu__get_node(struct perf_cpu cpu);
81 * /sys/devices/system/cpu/cpuX/topology/physical_package_id for the given CPU.
83 int cpu__get_socket_id(struct perf_cpu cpu);
86 * /sys/devices/system/cpu/cpuX/topology/die_id for the given CPU.
88 int cpu__get_die_id(struct perf_cpu cpu);
91 * /sys/devices/system/cpu/cpuX/topology/cluster_id for the given CPU
93 int cpu__get_cluster_id(struct perf_cpu cpu);
96 * /sys/devices/system/cpu/cpuX/topology/core_id for the given CPU.
98 int cpu__get_core_id(struct perf_cpu cpu);
106 typedef struct aggr_cpu_id (*aggr_cpu_id_get_t)(struct perf_cpu cpu, void *data);
109 * cpu_aggr_map__new - Create a cpu_aggr_map with an aggr_cpu_id for each cpu in
124 * the socket for cpu. The function signature is compatible with
127 struct aggr_cpu_id aggr_cpu_id__socket(struct perf_cpu cpu, void *data);
130 * with the die and socket for cpu. The function signature is compatible with
133 struct aggr_cpu_id aggr_cpu_id__die(struct perf_cpu cpu, void *data);
136 * populated with the cluster, die and socket for cpu. The function signature
139 struct aggr_cpu_id aggr_cpu_id__cluster(struct perf_cpu cpu, void *data);
142 * socket populated with the core, die and socket for cpu. The function
145 struct aggr_cpu_id aggr_cpu_id__core(struct perf_cpu cpu, void *data);
147 * aggr_cpu_id__core - Create an aggr_cpu_id with the cpu, core, die and socket
148 * populated with the cpu, core, die and socket for cpu. The function signature
151 struct aggr_cpu_id aggr_cpu_id__cpu(struct perf_cpu cpu, void *data);
154 * cpu. The function signature is compatible with aggr_cpu_id_get_t.
156 struct aggr_cpu_id aggr_cpu_id__node(struct perf_cpu cpu, void *data);
161 struct aggr_cpu_id aggr_cpu_id__global(struct perf_cpu cpu, void *data);