psavery / cppTimer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is just a template for a timer used in C++.

It allows you to time a function call to 6 decimal places using wall-time and 2 decimal places using cpu time.

To use, after cloning and entering the root directory, issue the following command:

> mkdir build; cd build; cmake ..; make -j3;

> ./timeit

It will output to the terminal the amount of time it took...

About


Languages

Language:C++ 88.4%Language:CMake 11.6%