Function sbi_rt::pmu_num_counters
source · pub fn pmu_num_counters() -> usize
Expand description
Returns the number of counters, both hardware and firmware.
This call would always succeed without returning any error.
This function is defined in RISC-V SBI Specification chapter 11.5.