I have a multi-threading application and when I run vtune-profiler on it, under the caller/callee tab, I see that the callee function's CPU Time: Total - Effective Time
is larger than caller function's CPU Time: Total - Effective Time
.
eg. caller function - A
callee function - B (no one calls B but A)
Function | CPU time: Total |
---|---|
- | Effective Time |
A | 54% |
B | 57% |
My understanding is that Cpu Time: Total
is the sum of CPU time: self
+ time of all the callee's of that function
. By that definition should not Cpu Time: Total
of A
be greater than B
?
What am I missing here?