Current subroutine level overhead

Current subroutine level overhead

I have a subroutine

subroutine foo
statement
statement
call foofoo
statement
statement
end subroutine

When I display the counters, bottom up or top down I get the overhead of the statements within foo _including_ the overhead in foofoo and the subroutines it calls. While this information is important, I also want to easily get the overhead at the level of foo alone. Is there an easy way to do this? Adding up statements by hand, excluding the called subroutines is awkard at best. There is likely an easy way to get this information, I haven't found it as of this writing.

Jim Dempsey

www.quickthreadprogramming.com
2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

In case this is what you have in mind, build with function in-lining disabled, (e.g. /Qip-) so you can drag your mouse over the range of source or asm lines you are interested in.

Leave a Comment

Please sign in to add a comment. Not a member? Join today