pim@ele.tue.nl (Pim Buurman) (12/22/89)
I have the following problem: When I compile my C-program ( 30 files, 15000 lines of code ) on our hp9000/835 with the option -G, to create a profiling program, the resulting profiles are all wrong. There are about 10 functions, that are only profiled with the time spend in it, but not with the number of calls to it. Therefore they appear to be "<spontaneous>" in the second part of the profile. Of these functions, the functions '_mcount', 'sqrt', '$$mulI', '$$mulU' and 'cvt' are not mine. (I suppose they are library/basic? functions.) Other library functions are profiled as should be. Different options, like 'cc -g -G' and 'cc -G -p' give the same result, and the same functions are wrong in all calls. Is there anybody in Netland with the problems, or with a solution ? Please mail to: pim@ele.tue.nl (or ..mcvax!euteal!pim). If necessary, I will post a summary of the answers. Pim Buurman. ------------------ My boss does not know I have net-access. ------------------