LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using oprofile (https://www.linuxquestions.org/questions/linux-newbie-8/using-oprofile-718152/)

learn2bperfect 04-10-2009 05:12 AM

Using oprofile
 
Iam trying to investigate why my executable main.exe is taking high CPU usage.

When I run oprofile, I get below output:

CPU: P4 / Xeon, speed 2793.01 MHz (estimated)
Counted GLOBAL_POWER_EVENTS events (time during which processor is not stopped) with a unit mask of 0x01 (mandatory) count 100000
samples % image name symbol name
752022 94.8501 anon (tgid:8704 range:0x9df000-0x9e0000) (no symbols)
37310 4.7058 main.exe getNumbers(char*, char*)
2740 0.3456 main.exe .plt
222 0.0280 main.exe seeThrough(int, int, int, int, char*)



Here anon takes almost 100%.
Can someone explain me what is this anon. And how can I find why my executable takes high CPU Usage.


All times are GMT -5. The time now is 08:09 PM.