public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Shaun Jackman <sjackman@gmail.com>
To: gdb-patches@sources.redhat.com, gdb@sources.redhat.com
Subject: Re: gdb/symfile.c: Transfer rate calculation
Date: Fri, 15 Jul 2005 01:14:00 -0000	[thread overview]
Message-ID: <7f45d9390507141814440a1690@mail.gmail.com> (raw)
In-Reply-To: <7f45d93905070816344ea65a3c@mail.gmail.com>

Ping?

Cheers,
Shaun

On 2005-07-08, Shaun Jackman <sjackman@gmail.com> wrote:
> The transfer rate calculation in print_transfer_performance uses a
> time unit of whole seconds. This gross time unit limits the accuracy
> of the calculation, since the number of elapsed whole seconds usually
> has only one significant digit. This patch adds
> print_transfer_performance_ms which uses a time unit of milliseconds.
> It leaves the semantics of print_transfer_performance unchanged
> because gdb/m32r-rom.c and gdb/remote-m32r-sdi.c use it.
> 
> Cheers,
> Shaun
> 
> 2005-07-08  Shaun Jackman  <sjackman@gmail.com>
> 
>         * gdb/symfile.c (print_transfer_performance_ms): New function.
>         Use gettimeofday instead of date to obtain microsecond precision.
>         (print_transfer_performance): Call print_transfer_performance_ms.
[patch clipped]

           reply	other threads:[~2005-07-15  1:14 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <7f45d93905070816344ea65a3c@mail.gmail.com>]

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=7f45d9390507141814440a1690@mail.gmail.com \
    --to=sjackman@gmail.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=gdb@sources.redhat.com \
    /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).