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

/gem5/src/arch/riscv/
H A Disa.cc78 int hpmcounter = misc_reg - MISCREG_CYCLE; local
79 if (hpmcounter < 0 || hpmcounter > 31)
80 panic("Illegal HPM counter %d\n", hpmcounter);
95 return (miscRegFile[counteren] & (1ULL << (hpmcounter))) > 0;

Completed in 3 milliseconds