Question

With lots of efforts and tutorials I got xdebug/wincachegrind up and running but most tutorials end with "Now everythings working, enjoy".

Everythings working, but I don't get the column naming in the stats:

  • what means Avg. Self (Average Self)?
  • what means Cum.?
  • what is Total self in opposite to Average Self?
  • what is Total Cum in opposite to Average Cum?

I'm a bit confused that I did not find an appropriate answer, so sorry if this is a dumb question.

Was it helpful?

Solution

  • Self = Time spend inside the code of that function itself.
  • Cum. = Time spend in functions Self calls with it's self time (short for Cumulative).
  • Avg vs. Total: Average is average time per call, Total is the total time spend in all calls.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top