public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: N8TM@aol.com
To: khan@xraylith.wisc.edu
Cc: David.Billinghurst@riotinto.com.au, egcs@cygnus.com
Subject: Re: g77 second function always returns 0.0 on mingw32/egcs-1.1
Date: Sat, 26 Sep 1998 00:52:00 -0000	[thread overview]
Message-ID: <da4925c.360c86c6@aol.com> (raw)

In a message dated 9/25/98 12:21:32 PM Pacific Daylight Time,
khan@xraylith.wisc.edu writes:

> a testcase for your changes
I checked the results of running libf2c/libU77/u77-test.f (Dave Love's test
program) on your binary distribution of egcs-1.1 for cygwin32, and with the
standard egcs-19980914, under W95.  Reading somewhat between the lines, I see
that the standard version requires over 1000 times as long to obtain a clock
tick, and even so never registers a non-zero result for etime() or dtime().
So this test program shows that your distribution behaves as I intended.  The
test program doesn't call cpu_time() or second(), but the compiler treats
these as aliases for etime().

A longer way to test the timers is to use them to run Livermore Kernels or
some similar application which tests the resolution, overhead, and
repeatability of timer calls.  The resolution of cpu_time et al under W95 with
Mumit's egcs-1.1 binary is about 6 microseconds, or about 7 ticks of the SCT
timer.

BTW, the hpux version of etime() has .010 seconds resolution for the returned
value of (user + system time) but the resolution of user time by itself is
1.000 second, so I won't shed any tears when they get around to providing
cpu_time(), which doesn't give access to separate user and system times.
Likewise, my linux has a resolution of .050 seconds for the separate
components of etime() and a resolution of .01 seconds for their sum.

             reply	other threads:[~1998-09-26  0:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-26  0:52 N8TM [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-09-24 23:18 N8TM
1998-09-25  6:49 ` Mumit Khan
1998-09-25 10:00 ` Dave Love
1998-09-25 19:05   ` Mumit Khan
1998-09-24 18:34 Billinghurst, David (RTD)
1998-09-25 10:10 ` Dave Love

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=da4925c.360c86c6@aol.com \
    --to=n8tm@aol.com \
    --cc=David.Billinghurst@riotinto.com.au \
    --cc=egcs@cygnus.com \
    --cc=khan@xraylith.wisc.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).