arwhite@watdaisy.UUCP (Alex White) (05/27/83)
Is there anybody out there who has such a programme? I.e. prof tells me that some large percent of the time is spent in one routine; it is a fairly long routine with a lot of conditional stuff that I haven't the foggiest idea which paths are traversed most; is there any way to figure out which areas are getting hit the worst? The other is there are zillions of calls to this routine; which is called from dozens of places. Is there any routine to see who did most of the callings?; i.e. mcount but stuffed in at the function calling rather than the function startup.
pdl@root44.UUCP (06/01/83)
Some little while ago (a couple of months maybe), there was a decription given of a talk given by Peter Weinberger from Bell Labs to some people in the Netherlands of work he was doing. This included a sort of basic-block version of `prof', i.e. something that counts how many times each basic block is executed, etc. If I can dig up the article, i'll post it, since it obviously didn't get that far. Dave Lukes (...!vax135!ukc!root44!pdl)