Searched refs:VIRT_CTR (Results 1 – 1 of 1) sorted by relevance
/xen/xen/arch/x86/oprofile/ |
A D | op_model_p4.c | 388 #define VIRT_CTR(stagger, i) ((i) + ((num_counters) * (stagger))) macro 404 p4_counters[VIRT_CTR(stag, i)].counter_address; in p4_fill_in_addresses() 484 counter_bit = 1 << VIRT_CTR(stag, ctr); in pmc_setup_one_p4_counter() 513 CCCR_READ(cccr, VIRT_CTR(stag, ctr)); in pmc_setup_one_p4_counter() 522 CCCR_WRITE(cccr, VIRT_CTR(stag, ctr)); in pmc_setup_one_p4_counter() 605 CTR_WRITE(counter_config[i].count, VIRT_CTR(stag, i)); in p4_setup_ctrs() 647 real = VIRT_CTR(stag, i); in p4_check_ctrs() 679 CCCR_READ(msr_content, VIRT_CTR(stag, i)); in p4_start() 681 CCCR_WRITE(msr_content, VIRT_CTR(stag, i)); in p4_start() 695 CCCR_READ(msr_content, VIRT_CTR(stag, i)); in p4_stop() [all …]
|
Completed in 3 milliseconds