diff --git a/README.md b/README.md index 96a531e9..0a1b8237 100644 --- a/README.md +++ b/README.md @@ -79,10 +79,12 @@ or clone the repository first, and then update submodules with: git submodule update --init --recursive ``` -Install cmake (and libasan on Linux) then: +Install cmake (and libasan on Linux) then compile: +Choose **one** of the following build methods: +* Incremental Build (Fastest): if you have a previous build to reuse the existing `build` directory and preserve previous build artifacts, go straight to the `cd build` step. +* Clean Build (From Scratch): Run `cmake -E rm -rf build && cmake -E make_directory build` for your first build, or for a full rebuild to ensure a "clean state" by deleting all previous build data. ``` -mkdir build cd build cmake .. cmake --build . diff --git a/src/pcm.cpp b/src/pcm.cpp index 5ba29042..ba34a7bf 100644 --- a/src/pcm.cpp +++ b/src/pcm.cpp @@ -184,7 +184,7 @@ void print_output(PCM * m, case 2: if (m->isCoreCStateResidencySupported(0)) { - cout << " UTIL : utlization (same as core C0 state active state residency, the value is in 0..1) \n"; + cout << " UTIL : utilization (same as core C0 state active state residency, the value is in 0..1) \n"; } cout << " IPC : instructions per CPU cycle\n"; if (m->isActiveRelativeFrequencyAvailable())