diff options
author | Beeman Strong <97133824+bcstrongx@users.noreply.github.com> | 2024-04-29 15:14:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 15:14:54 -0700 |
commit | 491f57ff5933dc8fbb5ed3e4ea16636f1b2c859d (patch) | |
tree | d1eb3128fa57fa1e72f58d47e38399f976058dda | |
parent | 20cc27d7ae0f45a0ad2da8154738ce44dd1dcb75 (diff) | |
download | riscv-isa-manual-491f57ff5933dc8fbb5ed3e4ea16636f1b2c859d.zip riscv-isa-manual-491f57ff5933dc8fbb5ed3e4ea16636f1b2c859d.tar.gz riscv-isa-manual-491f57ff5933dc8fbb5ed3e4ea16636f1b2c859d.tar.bz2 |
Update smcntrpmf.adoc
Minor text improvements
Signed-off-by: Beeman Strong <97133824+bcstrongx@users.noreply.github.com>
-rw-r--r-- | src/smcntrpmf.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smcntrpmf.adoc b/src/smcntrpmf.adoc index cc43b51..4130002 100644 --- a/src/smcntrpmf.adoc +++ b/src/smcntrpmf.adoc @@ -4,12 +4,12 @@ [[intro]] === Introduction -The cycle and instret counters serve to support user mode self-profiling usages, wherein a user can read the counter(s) twice and compute the delta(s) to evaluate user software performance and behavior. Currently, these counters are not filtered by privilege mode, and thus they continue to increment while traps (e.g., page faults or interrupts) to more privileged code are handled. This causes two problems: +The cycle and instret counters serve to support user mode self-profiling usages, wherein a user can read the counter(s) twice and compute the delta(s) to evaluate user software performance and behavior. By default, these counters are not filtered by privilege mode, and thus they continue to increment while traps (e.g., page faults or interrupts) to more privileged code are handled. This causes two problems: * It introduces unpredictable noise to the counter values observed by the user. * It leaks information about privileged software execution to user mode. -This proposal remedies these issues by introducing privilege mode filtering for the cycle and instret counters. +Smcntrpmf remedies these issues by introducing privilege mode filtering for the cycle and instret counters. [[csrs]] === CSRs |