Skip to content

C++ programs which simulate/evaluate the performance of hardware optimization strategies. Strategies tested include CPU branch prediction policy (e.g. bimodal, GShare, tournament) and cache associativity/replacement policy (e.g. Direct-mapped, LRU, HotCold).

Notifications You must be signed in to change notification settings

JacobGH2/Hardware_Optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

The makefile in each sub-directory will create the "predictors" and "cache-sim" executables.

./<executable> traces/<input_trace> output.txt

will run the chosen test on the trace provided. The trace must be from the sub-directory's trace/ directory.

output.txt can be compared to the corresopnding output in correct_outputs/.

Execution time for the shortest trace (~1 million instructions) is 30 seconds.

About

C++ programs which simulate/evaluate the performance of hardware optimization strategies. Strategies tested include CPU branch prediction policy (e.g. bimodal, GShare, tournament) and cache associativity/replacement policy (e.g. Direct-mapped, LRU, HotCold).

Topics

Resources

Stars

Watchers

Forks