Skip to content
A library for calculating the reuse distances of an address stream.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake
include/reuse-distance
src
.clang-format
.gitignore
CMakeLists.txt
LICENSE
README.adoc

README.adoc

Reuse Distance Library

A simple library for calculating the reuse distances of subsequent memory requests.

Compile

This project uses CMake. CMake can configure the project for different build systems and IDEs (type cmake --help for a list of generators available for your platform). We recommend you create a build directory before invoking CMake to configure the project (cmake -B). For example, we can perform the configuration step from the project root directory:

cmake -H. -Bcmake-build-release -DCMAKE_BUILD_TYPE=Release
cmake -H. -Bcmake-build-debug -DCMAKE_BUILD_TYPE=Debug

After the configuration step, you can ask CMake to build the project.

cmake --build cmake-build-release/ --target all
cmake --build cmake-build-debug/ --target all

Installation

You can install the library by using the install target, for example:

cmake --build cmake-build-release/ --target install

If you would like to change the default installation directory, you must do so in the configure step:

cmake -H. -Bcmake-build-release -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/path/to/install/dir"

If your project also uses cmake, you can find the CMake package configuration files at <install-prefix>/lib/cmake/.

You can’t perform that action at this time.