From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: GPROF reports zero time spent? Date: 7 Mar 2001 21:07:59 GMT Organization: Aachen University of Technology (RWTH) Lines: 18 Message-ID: <9867vf$9ts$1@nets3.rz.RWTH-Aachen.DE> References: <3aa69f21 DOT 386105 AT news DOT redshift DOT com> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 983999279 10172 137.226.32.75 (7 Mar 2001 21:07:59 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 7 Mar 2001 21:07:59 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Damon Casale wrote: > Hi, it's me again. I'm trying to get gprof to profile my compression > program correctly, and it's driving me batty. -_- > Here's the first few lines of (relevant) output: > Flat profile: > Each sample counts as 0.0555556 seconds. > % cumulative self self total > time seconds seconds calls Ts/call Ts/call name > 100.00 424.17 424.17 __dpmi_int See the FAQ. In a nutshell: either you've hit a gprof bug, or your program is completely bottlenecked by I/O operations. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.