Expand description
Chapter 11. Performance Monitoring Unit Extension (EID #0x504D55 “PMU”).
Modules§
- cache_
event - Hardware Cache Event ID.
- cache_
operation - Hardware Cache Operation ID.
- cache_
result - Hardware Cache Operation Result ID.
- event_
type - PMU Event Types.
- firmware_
event - Firmware Event Codes.
- hardware_
event - Hardware General Event Codes.
- shmem_
size - Size of shared memory on PMU extension set by supervisor software for current hart.
Constants§
- COUNTER_
CONFIG_ MATCHING - Function ID to find and configure a counter from a set of counters.
- COUNTER_
FW_ READ - Function ID to provide the current value of a firmware counter.
- COUNTER_
FW_ READ_ HI - Function ID to provide the upper 32 bits from the value of the current firmware counter.
- COUNTER_
GET_ INFO - Function ID to get details about the specified counter.
- COUNTER_
START - Function ID to start or enable a set of counters on the calling hart with the specified initial value.
- COUNTER_
STOP - Function ID to stop or disable a set of counters on the calling hart.
- EID_PMU
- Extension ID for Performance Monitoring Unit extension.
- NUM_
COUNTERS - Function ID to get the number of counters, both hardware and firmware.
- SNAPSHOT_
SET_ SHMEM - Function ID to set and enable the PMU snapshot shared memory.