C++17 implementation of a simple performance timer for functions.
cmake 3.26.3
is used to compile the sources.
The cmake files compile with -std=c++17
.
$ git clone https://github.com:massimo-marino/perf-timer.git
$ cd perf-timer/example
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./perf-timer-example
See the source code in the example.