In the `profile probe, what do “Calls to Self/Child” columns mean?
Assume we have a program foo with two functions outer() and inner() . outer loops and calls inner which does some work. We setup the foo.profile.cfg file to profile both of them. If we look at the output for routine outer we would expect to see Calls to Self being one – it’s just called once. Calls to Child should be something like 10 or however many times inner is called. Similarly the two tables show individual and cumulative time. The individual time for outer would be much lower than the cumulative time since the individual time has all of the recorded times for inner subtracted from it. Finally, note that this only applies to routines profiled. If outer also calls routine another() which is not profiled, another ‘s call counts do not show and its time is recorded as part of outer ‘s individual time.
Related Questions
- There are five columns on the effort reports, labeled "Spons Res," "Instr," "Dept Res," "Patient" and "Admin." What do these columns mean and where do I place my effort entries?
- What do the "Position on Movie Waiting List" and "Approx. Wait" columns mean on My List?
- In the `profile probe, what do "Calls to Self/Child" columns mean?