I agree with Ross, kprof does consider the "cumulative" time/percentage as
"total" (self + children) data, which is wrong.

Attached is a patch that should fix this bug, it fetches "totals" (time and
percentage) from the call graph and not from the flat profile.

Ross, can you give it a spin and let me know if this addresses your problem?

Jeremy

--
http://www.jerryweb.org/             : JerryWeb.org
http://sailcut.sourceforge.net/      : Sailcut CAD
http://opensource.polytechnique.org/ : Polytechnique.org Free Software

Attachment: kprof-totals.patch
Description: Binary data

Reply via email to