Searched refs:p4_counters (Results 1 - 1 of 1) sorted by relevance

/external/oprofile/module/x86/
H A Dop_model_p4.c85 static struct p4_counter_binding p4_counters[NUM_COUNTERS_NON_HT] = { variable in typeref:struct:p4_counter_binding
372 #define CCCR_READ(low, high, i) do {rdmsr(p4_counters[(i)].cccr_address, (low), (high));} while (0)
373 #define CCCR_WRITE(low, high, i) do {wrmsr(p4_counters[(i)].cccr_address, (low), (high));} while (0)
377 #define CTR_READ(l, h, i) do {rdmsr(p4_counters[(i)].counter_address, (l), (h));} while (0)
378 #define CTR_WRITE(l, i) do {wrmsr(p4_counters[(i)].counter_address, -(u32)(l), -1);} while (0)
415 p4_counters[VIRT_CTR(stag, i)].counter_address;
563 rdmsr(p4_counters[VIRT_CTR(stag, i)].cccr_address, low, high);
566 wrmsr(p4_counters[VIRT_CTR(stag, i)].cccr_address, low, high);

Completed in 40 milliseconds