Searched refs:p4_counters (Results 1 – 1 of 1) sorted by relevance
/xen/xen/arch/x86/oprofile/ |
A D | op_model_p4.c | 82 static struct p4_counter_binding p4_counters [NUM_COUNTERS_NON_HT] = { variable 365 #define CCCR_READ(msr_content, i) do {rdmsrl(p4_counters[(i)].cccr_address, (msr_content));} while … 366 #define CCCR_WRITE(msr_content, i) do {wrmsrl(p4_counters[(i)].cccr_address, (msr_content));} while… 370 #define CTR_READ(msr_content,i) do {rdmsrl(p4_counters[(i)].counter_address, (msr_content));} while… 371 #define CTR_WRITE(msr_content,i) do {wrmsrl(p4_counters[(i)].counter_address, -(msr_content));} whi… 404 p4_counters[VIRT_CTR(stag, i)].counter_address; in p4_fill_in_addresses() 550 rdmsrl(p4_counters[VIRT_CTR(stag, i)].cccr_address, msr_content); in p4_setup_ctrs() 553 wrmsrl(p4_counters[VIRT_CTR(stag, i)].cccr_address, msr_content); in p4_setup_ctrs()
|
Completed in 3 milliseconds