Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 737 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 737 Bytes

Building a concurrent cache simulator

This tutorial shows how to build a concurrent cache simulator using libCacheSim. The cache simulator can simulate multiple caches at the same time. This example illustrate the usage of simulate_with_multi_caches() and simulate_at_multi_sizes() APIs. The details of the APIs can be found at simulator.h This example also shows how to use a csv reader to read a csv trace.

Build

# Prerequisites: Install Ninja build system if not already available
# Ubuntu/Debian: sudo apt install ninja-build
# macOS: brew install ninja

mkdir _build;
cd _build;
cmake -G Ninja ..;
ninja;

Run

./cacheSimulatorMultiSize