Searched refs:cpu_no (Results 1 - 7 of 7) sorted by relevance
/linux-master/tools/testing/selftests/resctrl/ |
H A D | resctrl.h | 135 int get_domain_id(const char *resource, int cpu_no, int *domain_id); 144 int taskset_benchmark(pid_t bm_pid, int cpu_no, cpu_set_t *old_affinity); 146 int write_schemata(char *ctrlgrp, char *schemata, int cpu_no, const char *resource); 166 int get_cache_size(int cpu_no, const char *cache_type, unsigned long *cache_size); 177 int perf_open(struct perf_event_attr *pea, pid_t pid, int cpu_no);
|
H A D | resctrlfs.c | 125 * @cpu_no: CPU number 130 int get_domain_id(const char *resource, int cpu_no, int *domain_id) argument 140 sprintf(phys_pkg_path, "%s%d/cache/index%d/id", PHYS_ID_PATH, cpu_no, cache_num); 161 * @cpu_no: CPU number 167 int get_cache_size(int cpu_no, const char *cache_type, unsigned long *cache_size) argument 178 cpu_no, cache_num); 406 * @cpu_no: CPU number at which the PID would be binded 411 int taskset_benchmark(pid_t bm_pid, int cpu_no, cpu_set_t *old_affinity) argument 425 CPU_SET(cpu_no, &my_set); 588 * @cpu_no 596 write_schemata(char *ctrlgrp, char *schemata, int cpu_no, const char *resource) argument [all...] |
H A D | cache.c | 46 int perf_open(struct perf_event_attr *pea, pid_t pid, int cpu_no) argument 50 pe_fd = perf_event_open(pea, pid, cpu_no, -1, PERF_FLAG_FD_CLOEXEC);
|
H A D | resctrl_val.c | 133 static int open_perf_event(int i, int cpu_no, int j) argument 136 perf_event_open(&imc_counters_config[i][j].pe, -1, cpu_no, -1, 297 * @cpu_no: CPU number that the benchmark PID is binded to 305 static int get_mem_bw_imc(int cpu_no, char *bw_report, float *bw_imc) argument 314 ret = open_perf_event(imc, cpu_no, j); 410 * @cpu_no: CPU number that the benchmark PID is binded to 414 int cpu_no, char *resctrl_val) 418 if (get_domain_id("MB", cpu_no, &domain_id) < 0) { 579 * @cpu_no: CPU number that the benchmark PID is binded to 583 int cpu_no, cha 413 initialize_mem_bw_resctrl(const char *ctrlgrp, const char *mongrp, int cpu_no, char *resctrl_val) argument 582 initialize_llc_occu_resctrl(const char *ctrlgrp, const char *mongrp, int cpu_no, char *resctrl_val) argument [all...] |
/linux-master/tools/power/x86/amd_pstate_tracer/ |
H A D | amd_pstate_trace.py | 340 for cpu_no in range(0, current_max_cpu + 1): 341 plot_per_cpu_freq(cpu_no) 342 plot_per_cpu_des_perf(cpu_no) 343 plot_per_cpu_load(cpu_no)
|
/linux-master/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 593 for cpu_no in range(0, current_max_cpu + 1): 594 plot_perf_busy_with_sample(cpu_no) 595 plot_perf_busy(cpu_no) 596 plot_durations(cpu_no) 597 plot_loads(cpu_no)
|
/linux-master/arch/powerpc/kernel/ |
H A D | prom_init.c | 2169 unsigned int cpu_no; local 2184 cpu_no = be32_to_cpu(reg); 2186 prom_debug("cpu hw idx = %u\n", cpu_no); 2194 if (cpu_no != prom.cpu) { 2196 prom_printf("starting cpu hw idx %u... ", cpu_no); 2198 secondary_hold, cpu_no); 2204 if (*acknowledge == cpu_no) 2211 prom_printf("boot cpu hw idx %u\n", cpu_no);
|
Completed in 132 milliseconds