Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!eutrc3!euteal!pim From: pim@ele.tue.nl (Pim Buurman) Newsgroups: comp.sys.hp Subject: Problems with profiling on hp9000s800 Message-ID: <451@euteal.ele.tue.nl> Date: 22 Dec 89 13:48:58 GMT Organization: Eindhoven University of Technology, The Netherlands Lines: 22 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 "" 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. ------------------