This simulates several L1 caches (each with one trace) and one L2 cache by first generating the misses of the L1 caches and feed in the L2 cache. It outputs the L2 miss ratio curve.
- libCacheSim: you must install libCacheSim first
- libyaml:
sudo apt install -yq libyaml-dev libyaml-cpp-dev
mkdir _build/;
cd _build/;
cmake ../;
make -j;
./layeredCache config.yaml