You can profile any function in you code. Furthermore this library provide measuring time of any block of code. Also the library can capture system's context switch.
You can see the results of measuring in simple gui application which provide full statistic and render beautiful timeline.
If you use qtcreator IDE you can just open `CMakeLists.txt` file in root directory.
If you use Visual Studio you can generate solution by cmake command. In this case you should specify path to cmake scripts in Qt5 dir (usually in lib/cmake subdir), for example:
First of all you can specify path to include directory which contains `include/profiler` directory. For linking with ease_profiler you can specify path to library.
To profile any block you may do this as following. You can specify these blocks also with Google material design color or just set name of block (in this case color will be OrangeA100):