- git clone the "patch_rocket_sim" under your rocket-sim/
- Backup your original Makefile to different name.
- Create a new Makefile under rocket-sim/, and following content " -include patch_rocket_sim/Makefile " in your new Makefile.
- Modify the rocket-sim/execution.cpp. Comment the systrm pause.
Please follow this link in detail to modify your execution.cpp - Choose the following one malloc lib
- make tm=ltalloc
- make tm=scalloc
- make tm=glibc
- ./rocket-sim-exe
- If you have enough memory, you can modify ** #define NUM_OF_CELL** number in ringbuffer.h for more lager memory.
- Execute ./patch_rocket_sim/scalloc_config.sh under the rocket-sim/ before build the code.
- make tm=scalloc
- When you need the extra memory profile information, you need change the PROPRIETARY_LOGGING to 1.
This define is in ringbuffer.h. - This feature author is whosyourdadd