-
Notifications
You must be signed in to change notification settings - Fork 4
A simple workload generator and cache simulator.
License
rohitagarwal003/CacheSimulator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
To compile: make all To clean: make clean To run: Go to the directory containing the binaries 'tracegenerator' and 'simulator' ./tracegenerator -t<Total Instructions> -s<Mean Sequential Length> -l<Mean Loop Length> -r<Mean Loop Repetitions> -d<Percentage of Data Instructions> -w<Percentage of Write Instructions> This will generate the input trace. ./simulator -c<capacity> -b<blocksize> -a<associativity> -r<replacement policy> -v<verbose> INPUT_TRACE All options except the INPUT_TRACE have default values, so they are optional. The default values are capacity = 8k, blocksize = 16bytes, associativity = 4, replacement policy = LRU & verbose disabled. To display the graphs of Miss Rates vs Time: $ gnuplot gnuplot> load "MissRatePlotScript" To display the graphs of Miss Rates vs Time: $ gnuplot gnuplot> load "OccupancyPlotScript"
About
A simple workload generator and cache simulator.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published