Environement Setup
December 29, 2017 ยท View on GitHub
To use this library on windows, you need to install mingw from here.
After you installed, please open "mingw64.exe" (don't use "msys2.exe") and execute the following commands:
pacman -Syu # update pacman itself
pacman -Syu # update other packages
pacman -S mingw-w64-x86_64-gcc cmake make
To use this library, just include the header files, for example:
g++ -Wall -Wextra --std=c++14 -O3 -g -Ilive-profiler/include Main.cpp
Notice: Some collector only works on linux, consider use ifdef when you're writing a cross platform profiler.
Run tests
The commands for running tests are same as linux:
cd tests
sh run_tests.sh