[MLton-devel] cvs commit: source-level profiling

Stephen Weeks MLton@mlton.org
Thu, 2 Jan 2003 10:24:56 -0800

> I'm slightly confused about stack walking in profiling.  From the description
> in the CVS commit, it looks like if I have a routine that is non-tail-recursive
> then it will be `charged' multiple seconds for each CPU second this is true.

No.  Each function that appears on the stack is only charged once per
clock tick, no matter how many times it appears.

This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
MLton-devel mailing list