Home
last modified time | relevance | path

Searched refs:CTR_WRITE (Results 1 – 2 of 2) sorted by relevance

/xen/xen/arch/x86/oprofile/
A Dop_model_athlon.c37 #define CTR_WRITE(l,msrs,c) do {wrmsr(msrs->counters[(c)].addr, -(unsigned int)(l), -1);} while (0) macro
213 CTR_WRITE(1, msrs, i); in athlon_setup_ctrs()
221 CTR_WRITE(counter_config[i].count, msrs, i); in athlon_setup_ctrs()
340 CTR_WRITE(reset_value[i], msrs, i); in athlon_check_ctrs()
A Dop_model_p4.c371 #define CTR_WRITE(msr_content,i) do {wrmsrl(p4_counters[(i)].counter_address, -(msr_content));} whi… macro
605 CTR_WRITE(counter_config[i].count, VIRT_CTR(stag, i)); in p4_setup_ctrs()
653 CTR_WRITE(reset_value[i], real); in p4_check_ctrs()
656 CTR_WRITE(reset_value[i], real); in p4_check_ctrs()

Completed in 4 milliseconds