Benchmarking code for evaluating the cost of cache coherence protocols implemented on different platforms.
So far, the program can only be built on Linux.
cmake
, version>=3.12
;- Build system, e.g.
make
orninja
; - C++ compiler supporting C++17, e.g.
GCC
orclang
.
Clone the project to local:
git clone https://github.com/Lancern/cache-coherence-protocol-bench.git ccpb
cd ccpb
Create a build directory:
mkdir build
cd build
Then build:
cmake ..
cmake --build .
After a successful build, you should be able to find a file named bench
under the build directory. Just run it :)
./bench
This program is open-sourced under MIT License.