delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/19/08:00:40

Xref: news2.mv.net comp.os.msdos.djgpp:6149
From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: gprof timing
Date: Fri, 19 Jul 1996 09:11:31 +0100
Organization: Lehrstuhl fuer Stroemungsmechanik
Lines: 29
Message-ID: <31EF4333.2781@LSTM.Ruhr-UNI-Bochum.De>
NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi all.

I am right now optimizing (well, who is not) a grid generator
code with gprof.
Now gprof tells me the total execution time is 44 seconds. 
The wall clock in fact indicates 87 seconds.
Recompiling without -pg and running the test case gives
82 seconds. 

Can this difference be explained somehow?

Writing this, I start to wonder if there is a missing factor
of 2 or so?
-- 
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