Home | History | Annotate | Download | only in x86

Lines Matching refs:cpu

48 	uint const cpu = op_cpu_id();
49 struct op_msrs const * const msrs = &cpu_msrs[cpu];
51 model->check_ctrs(cpu, msrs, regs);
58 uint const cpu = op_cpu_id();
59 struct op_msrs const * const msrs = &cpu_msrs[cpu];
75 uint const cpu = op_cpu_id();
76 struct op_msrs const * const msrs = &cpu_msrs[cpu];
78 if (info && (*((uint *)info) != cpu))
87 uint const cpu = op_cpu_id();
88 struct op_msrs const * const msrs = &cpu_msrs[cpu];
90 if (info && (*((uint *)info) != cpu))
97 static void pmc_select_start(uint cpu)
99 if (cpu == op_cpu_id())
102 smp_call_function(pmc_start, &cpu, 0, 1);
106 static void pmc_select_stop(uint cpu)
108 if (cpu == op_cpu_id())
111 smp_call_function(pmc_stop, &cpu, 0, 1);
117 int cpu, i;
119 for (cpu = 0 ; cpu < smp_num_cpus; cpu++) {
120 struct _oprof_data * data = &oprof_data[cpu];
190 uint const cpu = op_cpu_id();
193 struct op_msr_group * counters = &cpu_msrs[cpu].counters;
194 struct op_msr_group * controls = &cpu_msrs[cpu].controls;
219 model->fill_in_addresses(&cpu_msrs[cpu]);
243 uint const cpu = op_cpu_id();
246 struct op_msr_group * counters = &cpu_msrs[cpu].counters;
247 struct op_msr_group * controls = &cpu_msrs[cpu].controls;