From 3821779477d6960d7e0f19a7415df8ccd00a47b3 Mon Sep 17 00:00:00 2001 From: El-Naizin <38242972+El-Naizin@users.noreply.github.com> Date: Mon, 9 Oct 2023 18:19:13 +0200 Subject: [PATCH] Fixed benchmarks compilation instructions The benchmarks compilation instructions were erroneous. Thus, I took matters in my own hands to fix this error, probably saving an expected cumulated 2 weeks of work to developers using this library. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b5deb1..4e55ff3 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ Coz has command line options to specify progress points when profiling the appli To plot profile results, go to http://plasma-umass.github.io/coz/ and load your profile. This page also includes several sample profiles from PARSEC benchmarks. ## Sample Applications -The `benchmarks` directory in this repository includes several small benchmarks with progress points added at appropriate locations. To build and run one of these benchmarks with `coz`, just browse to `benchmarks/{bench name}` and type `cmake . && make`. These programs may require several runs before coz has enough measurements to generate a useful profile. Once you have profiled these programs for several minutes, go to http://plasma-umass.github.io/coz/ to load and plot your profile. +The `benchmarks` directory in this repository includes several small benchmarks with progress points added at appropriate locations. To build and run one of these benchmarks with `coz`, just browse to `benchmarks` and type `cmake . && make`, then you can execute the programs compiled in `benchmarks/{benchmark}`. These programs may require several runs before coz has enough measurements to generate a useful profile. Once you have profiled these programs for several minutes, go to http://plasma-umass.github.io/coz/ to load and plot your profile. ## CMake When you install coz it installs a cmake config file. To add coz to a cmake project simply use the command `find_package(coz-profiler)`. This will import a target for the library and includes called `coz::coz` and a target for the coz binary `coz::profiler`. For guidance on how to use these targets refer to the CMake documentation.