From: "Todorovic" Newsgroups: comp.os.msdos.djgpp Subject: gprof problem Date: Fri, 7 Jan 2000 16:05:39 +0100 Organization: Public news server of EUnet Yugoslavia Lines: 15 Message-ID: <854vbv$cue$1@SOLAIR2.EUnet.yu> NNTP-Posting-Host: p-4.100.eunet.yu X-Trace: SOLAIR2.EUnet.yu 947257535 13262 213.240.4.100 (7 Jan 2000 15:05:35 GMT) X-Complaints-To: abuse AT EUnet DOT yu NNTP-Posting-Date: 7 Jan 2000 15:05:35 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, everybody! I downloaded DJGPP and Allegro two weeks ago, and I wrote some simple programs. They work, and they work fast. Well, the problem appeared when I tried to use gprof. I compiled & linked programs with -pg, I got gmon.out, but when I gprof it I got very strange results in all programs I tried (Allegro examples, my programs, ...). In ALL of theese programs I always have one function that "eats" 100% of processor time, and all others 0%. It's not always __dpmi_init or __dj_movedata, sometimes it's some of my functions. Does anybody know what it could be? I just want to have correct results. Alexa