From: alrc AT task DOT com DOT br (Andre Chrcanovic) Newsgroups: comp.os.msdos.djgpp Subject: Re: gprof with all zero execution times in version 2.03 Date: 13 May 2003 07:08:23 -0700 Organization: http://groups.google.com/ Lines: 30 Message-ID: <5c9be5c2.0305130608.3d3661ef@posting.google.com> References: <200305121929 DOT h4CJTEN08938 AT delorie DOT com> NNTP-Posting-Host: 200.165.11.92 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1052834904 15188 127.0.0.1 (13 May 2003 14:08:24 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 13 May 2003 14:08:24 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I got this output sample after running the program for approximately 45 minutes, not 0.28 seconds... eplmst AT lu DOT erisoft DOT se (Martin Stromberg) wrote in message news:... > =?iso-8859-1?Q?alrc AT task=2Ecom=2Ebr?= (alrc AT task DOT com DOT br) wrote: > : Flat profile: > > : Each sample counts as 0.0555556 seconds. > : % cumulative self self total > : time seconds seconds calls Ts/call Ts/call name > : 100.00 0.28 0.28 __dpmi_int > : 0.00 0.28 0.00 7382040 0.00 0.00 crc_inc > : 0.00 0.28 0.00 13368 0.00 0.00 led_boot_blink > : 0.00 0.28 0.00 1213 0.00 0.00 led_reserva > : 0.00 0.28 0.00 667 0.00 0.00 incrementa_instante_atual > : 0.00 0.28 0.00 104 0.00 0.00 enfilera > > : Does anyone have an idea about what is going on here? > > If I read that right, your program executed for ~0.28 seconds with > 0.28/0.0555556 = 5 samples. I guess that's not many enough to get a > good coverage. > > Try running the program a longer time somehow (more data, slower > computer). > > > Right, > > MartinS