Realtime profiler for C/C++ applications