www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/13/12:31:02

From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: profiling problems...
Date: Fri, 13 Feb 1998 18:11:22 +0100
Organization: Lehrstuhl fuer Stroemungsmechanik
Lines: 41
Message-ID: <34E47EBA.B5DF404F@LSTM.Ruhr-UNI-Bochum.De>
References: <6c12pa$gf7$1 AT katie DOT vnet DOT net> <34E4609C DOT 8176C9D1 AT LSTM DOT Ruhr-UNI-Bochum DOT De>
NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
CC: Paul Byrne <byrne AT katie DOT vnet DOT net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Thomas Demmer wrote:
> 
> Paul Byrne wrote:
[...]
> 
> > The report from gprof only accounts for about 10 seconds of computation.
> > I ran it again and let it go for an hour or so, stopped the program
> > and gprof accounts for 30 seconds.  (Without profiling the program
> > exits normally in about 5 minutes.)  It does seem to be consuming CPU
> > time, it's just not doing anything.
> With profiling on, the run time is about 2-3 times normal speed,
> so this is normal.
> 
[...]
Seems to be one of my not that good days...
Rereading and this time understanding your mail...
A factor of 120 _is_ strange. Do you run this in a 
Windows DOS box or under plain DOS? The only idea
I have right now that running under W95 screws up the timer, 
if you run under DOS, it should behave quite normal. 

What exactly does you program do? Is there a lot of
swapping? Any networking stuff included?
Please post how much memory you have available, 
and how much your program approximately consumes.


-- 
Ciao
Tom

*************************************************************
* Thomas Demmer                                             *
* Lehrstuhl fuer Stroemungsmechanik                         *
* Ruhr-Uni-Bochum                                           *
* Universitaetsstr. 150                                     *
* D-44780  Bochum                                           *
* Tel: +49 234 700 6434                                     *
* Fax: +49 234 709 4162                                     *
* http://www.lstm.ruhr-uni-bochum.de/~demmer                *
*************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019