RISC-V ISA Explorer · Counters & Profiling
Smcntrpmf: M-Mode Counter Filtering
Ratified 2023-08 · version 1.0.0
Stops the cycle and instret counters from counting in selected privilege modes, for cleaner measurements.
Typical use: Counting only selected privilege modes
Open Smcntrpmf in the explorerInstructions
No instruction encodings are listed for this extension in the catalogue.
Control and status registers (4)
| Name | Address | Mode | Description |
|---|---|---|---|
mcyclecfg | 0x321 | M | Machine Cycle Counter Configuration |
mcyclecfgh | 0x721 | M | Machine Cycle Counter Configuration High |
minstretcfg | 0x322 | M | Machine Instructions-Retired Counter Configuration |
minstretcfgh | 0x722 | M | Machine Instructions-Retired Counter Configuration High |