Skip to content
/ hfcexp Public

Some simple scripts for ca experiments of HFUT.

Notifications You must be signed in to change notification settings

D0ot/hfcexp

Repository files navigation

H F C EXP = HFUT Fast CA Experiments

some scripts for hfut ca experiments, with mutli-process support making experiments N times faste!

Dependencies :

parallel

Config :

  1. place all the scripts in CINT2000 directory
  2. set correct Simple-Scalar installing path in pred_test_pure.sh and cache_test_pure.sh

Usage :

# make sure your current working directory is CINT2000

# run gcc bzip crafty mcf with four different branch predictor, you can add more predictor in pred_test_pure.sh
./pred_test.sh 

# run gcc bzip craft mcf with some cache configs, see cache_test_pure.sh
./cache_test.sh

# run a single program which is one of {gcc bzip craft mcf}
# for example, we only want to run gcc
./pred_test_pure.sh | grep gcc | parallel
 
# the same as cache simulation
./cache_test_pure.sh | grep gcc | parallel

# when the scripts exits, you can see the result in pred_output and cache_output
# for example you do the following steps to see some results

# have a look at pred results
./pred_results.sh

# have a look at cache results
./cache_results.sh

# go into the cache_output directory
cd ./cache_output

# elapsed time
grep --with-file 'elapsed' craft*err

# misses
grep --with-file 'misses' gcc*err

About

Some simple scripts for ca experiments of HFUT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages