Home
last modified time | relevance | path

Searched refs:cpu_index (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/tools/power/x86/amd_pstate_tracer/
Damd_pstate_trace.py65 def plot_per_cpu_freq(cpu_index): argument
68 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
70 output_png = "cpu%03d_frequency.png" % cpu_index
76 …g_plot('set title "{} : frequency : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, dateti…
82 def plot_per_cpu_des_perf(cpu_index): argument
85 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
87 output_png = "cpu%03d_des_perf.png" % cpu_index
92 …title "{} : cpu des perf : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetime.now()))
97 def plot_per_cpu_load(cpu_index): argument
100 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
[all …]
/linux-6.6.21/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py100 def plot_perf_busy_with_sample(cpu_index): argument
103 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
105 output_png = "cpu%03d_perf_busy_vs_samples.png" % cpu_index
110 … cpu perf busy vs. sample : CPU {:0>3} : {:%F %H:%M}"'.format(testname, cpu_index, datetime.now()))
121 def plot_perf_busy(cpu_index): argument
124 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
126 output_png = "cpu%03d_perf_busy.png" % cpu_index
131 …g_plot('set title "{} : perf busy : CPU {:0>3} : {:%F %H:%M}"'.format(testname, cpu_index, datetim…
140 def plot_durations(cpu_index): argument
143 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
[all …]
/linux-6.6.21/arch/x86/kernel/
Dsmpboot.c423 c->cpu_index = id; in smp_store_boot_cpu_info()
440 c->cpu_index = id; in smp_store_cpu_info()
452 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; in topology_same_node()
460 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; in topology_sane()
477 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; in match_smt()
510 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; in match_l2c()
559 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; in match_llc()
1152 c->cpu_index = nr_cpu_ids; in smp_cpu_index_default()
Dhpet.c423 hc->cpu = boot_cpu_data.cpu_index; in hpet_legacy_clockevent_register()
/linux-6.6.21/drivers/net/wireguard/
Dqueueing.h107 unsigned int cpu = *stored_cpu, cpu_index, i; in wg_cpumask_choose_online() local
111 cpu_index = id % cpumask_weight(cpu_online_mask); in wg_cpumask_choose_online()
113 for (i = 0; i < cpu_index; ++i) in wg_cpumask_choose_online()
/linux-6.6.21/kernel/
Dpadata.c50 static int padata_index_to_cpu(struct parallel_data *pd, int cpu_index) in padata_index_to_cpu() argument
55 for (cpu = 0; cpu < cpu_index; cpu++) in padata_index_to_cpu()
67 int cpu_index = seq_nr % cpumask_weight(pd->cpumask.pcpu); in padata_cpu_hash() local
69 return padata_index_to_cpu(pd, cpu_index); in padata_cpu_hash()
179 int i, cpu, cpu_index, err; in padata_do_parallel() local
196 cpu_index = *cb_cpu % cpumask_weight(pd->cpumask.cbcpu); in padata_do_parallel()
199 for (i = 0; i < cpu_index; i++) in padata_do_parallel()
/linux-6.6.21/crypto/
Dpcrypt.c177 int cpu, cpu_index; in pcrypt_aead_init_tfm() local
183 cpu_index = (unsigned int)atomic_inc_return(&ictx->tfm_count) % in pcrypt_aead_init_tfm()
187 for (cpu = 0; cpu < cpu_index; cpu++) in pcrypt_aead_init_tfm()
/linux-6.6.21/arch/alpha/kernel/
Dsetup.c1141 unsigned int cpu_index; in show_cpuinfo() local
1148 cpu_index = (unsigned) (cpu->type - 1); in show_cpuinfo()
1150 if (cpu_index < ARRAY_SIZE(cpu_names)) in show_cpuinfo()
1151 cpu_name = cpu_names[cpu_index]; in show_cpuinfo()
/linux-6.6.21/arch/x86/kernel/cpu/
Dproc.c69 cpu = c->cpu_index; in show_cpuinfo()
Damd.c320 if (!c->cpu_index) in init_amd_k7()
Dintel.c459 if (!c->cpu_index) in intel_smp_check()
Dcacheinfo.c744 unsigned int cpu = c->cpu_index; in init_intel_cacheinfo()
Dcommon.c1611 c->cpu_index = 0; in early_identify_cpu()
/linux-6.6.21/arch/ia64/kernel/
Diosapic.c651 int num_cpus, cpu_index, iosapic_index, numa_cpu, i = 0; in get_target_cpu() local
670 cpu_index = irq % num_cpus; in get_target_cpu()
673 if (cpu_online(numa_cpu) && i++ >= cpu_index) in get_target_cpu()
/linux-6.6.21/arch/x86/kernel/cpu/microcode/
Dintel.c677 bool bsp = c->cpu_index == boot_cpu_data.cpu_index; in apply_microcode_intel()
Damd.c730 if (c->cpu_index == boot_cpu_data.cpu_index) in apply_microcode_amd()
Dcore.c475 int bsp = boot_cpu_data.cpu_index; in reload_store()
/linux-6.6.21/arch/x86/include/asm/
Dprocessor.h142 u16 cpu_index; member