Skip to content

Commit

Permalink
jeffnye-gh/dromajo_stf_update (riscv-software-src#119)
Browse files Browse the repository at this point in the history
improve performance when stf tracing is enabled, issue riscv-software-src#55 
 
retain n_cycles=10000 until the stf trace opc is detected. 
Once the stop opc is detected restore n_cycles=10000

result is better interactivity under linux, improving overall
performance and usability when not actively generating a trace.

This is a re-implementation of previous draft PR.

trace opc trigger detection is done in dromajo_template.
trace record creation and handling is done in dromajo_stf.cpp
headers gathered into dromajo_stf.h

---------

Co-authored-by: jeff <jeffnye-gh@github.com>
  • Loading branch information
jeffnye-gh and jeff authored Nov 13, 2023
1 parent ba6dc13 commit 75bdc94
Show file tree
Hide file tree
Showing 2 changed files with 279 additions and 175 deletions.
2 changes: 1 addition & 1 deletion traces/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ git clone https://github.com/chipsalliance/dromajo
# Checkout a Known-to-work SHA
cd dromajo
git checkout 6f68f74
git checkout f3c3112
# Apply the patch
git apply ../dromajo_stf_lib.patch
Expand Down
Loading

0 comments on commit 75bdc94

Please sign in to comment.