andreas-abel / nanoBench

A tool for running small microbenchmarks on recent Intel and AMD x86 CPUs.
http://www.uops.info
GNU Affero General Public License v3.0
435 stars 55 forks source link

replPolicy.py default -sets value doesn't work #21

Closed caizixian closed 3 years ago

caizixian commented 3 years ago

https://github.com/andreas-abel/nanoBench/blob/4e7954f/tools/CacheAnalyzer/replPolicy.py#L61

The code suggests that if I leave -sets empty, all sets will be tested. However, running that will result in this error

https://github.com/andreas-abel/nanoBench/blob/d70535f/tools/CacheAnalyzer/cacheSim.py#L309

andreas-abel commented 3 years ago

I guess this was copy-and-paste from cacheSeq.py. I changed it.