i was told that i shouldn't use a system task manager to measure the CPU usage of my c++ program. instead, i should use a profiler.
after some search, i didn't found anything clear. so, what is and how do i use a profiler to measure that?
i'm using Code::Blocks 12.11 and Lubuntu 13.04
thanks in advance!