How much will you need in the reports of your profile. If you just want to make very simple time profiling for several functions, then the new functionality, available with the C ++ 11 chrono , simplifies the cross-platform profile, the cross-compiler.
See this article for some simple profiling code that works similar to Matlab's super easy to use tic and toc functions.
learnvst
source share