Simple sampling C/C++ profiler