summaryrefslogtreecommitdiff
path: root/doc/hpm.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/hpm.txt')
-rw-r--r--doc/hpm.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/hpm.txt b/doc/hpm.txt
new file mode 100644
index 0000000..07ae2e1
--- /dev/null
+++ b/doc/hpm.txt
@@ -0,0 +1,11 @@
+RVController Zihpm Counter List
+===============================
+
+The following counters are supported as part of the Zihpm extension:
+
+* hpmcounter3: Number of interrupts serviced
+* hpmcounter4: Number of non-interrupt traps handled
+* hpmcounter5: Number of digilines messages received (excluding console)
+* hpmcounter6: Number of console events received
+
+The upper word of each of these values is available in the corresponding hpmcounterXXh CSR.