simple profiler for c++