[comp.arch] Compiler Costs -- profiling

bb@wjh12.harvard.edu (Brent Byer) (07/15/90)

In article <AGLEW.90Jul13090626@oberon.crhc.uiuc.edu> aglew@oberon.crhc.uiuc.edu (Andy Glew) writes:
&     Unfortunately, most profilers do not have a way of indicating "X%
& of your time was spent in function calling". 

While not giving you a definitive "X%", I find that, using std "cc -p"/prof,
the % attributed to "mcount" is a very good indication of func call ovhd.

brent byer