Home
last modified time | relevance | path

Searched refs:counters (Results 1 – 14 of 14) sorted by relevance

/xen/xen/arch/x86/cpu/
A Dvpmu_amd.c43 static const u32 __read_mostly *counters; variable
210 wrmsrl(counters[i], counter_regs[i]); in context_load()
285 rdmsrl(counters[i], counter_regs[i]); in context_save()
347 else if (msr == counters[i] ) in context_update()
483 rdmsrl(counters[i], cntr); in amd_vpmu_dump()
508 if ( !counters ) in svm_vpmu_initialise()
520 ctxt->counters = sizeof(*ctxt); in svm_vpmu_initialise()
557 counters = ctrls = NULL; in common_init()
581 counters = AMD_F15H_COUNTERS; in amd_vpmu_init()
591 counters = AMD_F10H_COUNTERS; in amd_vpmu_init()
[all …]
/xen/xen/arch/x86/oprofile/
A Dnmi_int.c105 struct op_msr *counters = msrs->counters; in nmi_cpu_save_registers() local
110 rdmsrl(counters[i].addr, counters[i].value); in nmi_cpu_save_registers()
132 xfree(cpu_msrs[i].counters); in free_msrs()
133 cpu_msrs[i].counters = NULL; in free_msrs()
148 cpu_msrs[i].counters = xmalloc_bytes(counters_size); in allocate_msrs()
149 if (!cpu_msrs[i].counters) { in allocate_msrs()
219 struct op_msr * counters = msrs->counters; in nmi_restore_registers() local
228 wrmsrl(counters[i].addr, counters[i].value); in nmi_restore_registers()
A Dop_model_athlon.c37 #define CTR_WRITE(l,msrs,c) do {wrmsr(msrs->counters[(c)].addr, -(unsigned int)(l), -1);} while (0)
169 msrs->counters[0].addr = MSR_K7_PERFCTR0; in athlon_fill_in_addresses()
170 msrs->counters[1].addr = MSR_K7_PERFCTR1; in athlon_fill_in_addresses()
171 msrs->counters[2].addr = MSR_K7_PERFCTR2; in athlon_fill_in_addresses()
172 msrs->counters[3].addr = MSR_K7_PERFCTR3; in athlon_fill_in_addresses()
182 msrs->counters[0].addr = MSR_AMD_FAM15H_PERFCTR0; in fam15h_fill_in_addresses()
183 msrs->counters[1].addr = MSR_AMD_FAM15H_PERFCTR1; in fam15h_fill_in_addresses()
184 msrs->counters[2].addr = MSR_AMD_FAM15H_PERFCTR2; in fam15h_fill_in_addresses()
185 msrs->counters[3].addr = MSR_AMD_FAM15H_PERFCTR3; in fam15h_fill_in_addresses()
186 msrs->counters[4].addr = MSR_AMD_FAM15H_PERFCTR4; in fam15h_fill_in_addresses()
[all …]
A Dop_model_ppro.c71 msrs->counters[i].addr = MSR_P6_PERFCTR(i); in ppro_fill_in_addresses()
108 wrmsrl(msrs->counters[i].addr, ~0x0ULL); in ppro_setup_ctrs()
115 wrmsrl(msrs->counters[i].addr, -reset_value[i]); in ppro_setup_ctrs()
145 rdmsrl(msrs->counters[i].addr, val); in ppro_check_ctrs()
148 wrmsrl(msrs->counters[i].addr, -reset_value[i]); in ppro_check_ctrs()
A Dop_x86_model.h20 struct op_msr * counters; member
A Dop_model_p4.c403 msrs->counters[i].addr = in p4_fill_in_addresses()
/xen/xen/common/coverage/
A Dgcov_base.c44 void __gcov_merge_add(gcov_type *counters, unsigned int n_counters) in __gcov_merge_add() argument
49 void __gcov_merge_single(gcov_type *counters, unsigned int n_counters) in __gcov_merge_single() argument
54 void __gcov_merge_delta(gcov_type *counters, unsigned int n_counters) in __gcov_merge_delta() argument
/xen/xen/common/
A Dperfc.c70 perfc_t *counters = per_cpu(perfcounters, cpu) + j; in perfc_printall() local
73 sum += counters[k]; in perfc_printall()
96 perfc_t *counters = per_cpu(perfcounters, cpu) + j; in perfc_printall()
101 sum += counters[n]; in perfc_printall()
221 perfc_t *counters = per_cpu(perfcounters, cpu) + j; in perfc_copy_info() local
225 perfc_vals[v + k] += counters[k]; in perfc_copy_info()
A DKconfig205 Maintain counters on the access vector cache that can be viewed using
/xen/xen/include/public/arch-x86/
A Dpmu.h34 uint32_t counters; member
/xen/xen/
A DKconfig.debug73 Enables software performance counters that allows you to analyze
/xen/docs/hypervisor-guide/
A Dcode-coverage.rst51 Alternatively, the ``reset`` subcommand can be used reset all counters back to
/xen/docs/misc/
A Dxen-command-line.pandoc483 If set, force use of the performance counters for oprofile, rather than detecting
2338 Xen's watchdog functionality is implemented using performance counters.
2348 * The `ipc` option allows access to the most minimal set of counters
2355 Transactional Memory, and working performance counters.
/xen/stubdom/
A Dlwip.patch-cvs2364 /* initialize the snmp variables and counters inside the struct netif

Completed in 87 milliseconds