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.
|