delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/27/17:50:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <003701c12f42$2e489420$7edd18ac@amr.corp.intel.com>
From: "Tim Prince" <tprince AT computer DOT org>
To: "Carsten Thorenz" <XZ550S AT gmx DOT de>, <cygwin AT cygwin DOT com>
References: <540 DOT 998919456 AT www54 DOT gmx DOT net>
Subject: Re: Profiling with GPROF considered buggy?
Date: Mon, 27 Aug 2001 14:49:33 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

I thought that most linux implementations had the same timer resolution as Win2K installations.  I don't know that anyone has
considered the implications of gprof on WIn9x.
----- Original Message -----
From: "Carsten Thorenz" <XZ550S AT gmx DOT de>
To: <cygwin AT cygwin DOT com>
Sent: Monday, August 27, 2001 6:37 AM
Subject: Re: Profiling with GPROF considered buggy?


> Hi Tim!
>
> Tim Prince wrote:
> > Unless I am mistaken, cygwin doesn't include any libraries built with -pg.
> > When I wish to profile with g77, I build a copy of
> > libg2c with -pg as well as building all my code with -pg. When
> > I profile numerical code built with gcc, I use a mathinline.h as well
> > as a few of my own math functions to avoid spending much time in the
> newlib libm.
>
> I'm using standard ANSI-C, no libraries are linked in right now.
> What seems strange to me is that the behaviour of the profiler is _so_
> different when used under Linux, OS/2 or on completely other platforms
> (I tried HPUX, too). Ok, on HPUX the results differ, because it is a
> completely different machine, but at least the tendencies are the
> same for all of the above and provide very useful information. Not
> so with Cygwin or Mingw.
>
> > I can't tell from your message which language you
> > are using or whether you expect all the time to be spent in your own -pg
> compiled code.
>
> As I wrote previously: The program doesn't communicate much.
> It doesn't use libraries. It simply crunches numbers, but some
> of the CPU-intensive functions do not appear in the profile. Again my
> guess: The time spent in each of these functions for a single call is
> very short, but they are called _many, many_ times. Maybe the timer
> resolution
> is too bad to catch this?
>
> Bye,
>
> Carsten
>
>
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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