Skip to content

mingpepe/patch_rocket_sim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

===== User Guide

  1. git clone the "patch_rocket_sim" under your rocket-sim/
  2. Backup your original Makefile to different name.
  3. Create a new Makefile under rocket-sim/, and following content " -include patch_rocket_sim/Makefile " in your new Makefile.
  4. Modify the rocket-sim/execution.cpp. Comment the systrm pause.
    Please follow this link in detail to modify your execution.cpp
  5. Choose the following one malloc lib
  • make tm=ltalloc
  • make tm=scalloc
  • make tm=glibc
  1. ./rocket-sim-exe

Note

Run simulation faster

  • If you have enough memory, you can modify ** #define NUM_OF_CELL** number in ringbuffer.h for more lager memory.

Scalloc User

  • Execute ./patch_rocket_sim/scalloc_config.sh under the rocket-sim/ before build the code.
  • make tm=scalloc

PROPRIETARY_LOGGING

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 82.5%
  • C 9.3%
  • Shell 3.2%
  • Makefile 2.3%
  • Python 1.8%
  • Gnuplot 0.9%