public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Re: gdb/symfile.c: Transfer rate calculation
       [not found] <7f45d93905070816344ea65a3c@mail.gmail.com>
@ 2005-07-15  1:14 ` Shaun Jackman
  0 siblings, 0 replies; only message in thread
From: Shaun Jackman @ 2005-07-15  1:14 UTC (permalink / raw)
  To: gdb-patches, gdb

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]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-15  1:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <7f45d93905070816344ea65a3c@mail.gmail.com>
2005-07-15  1:14 ` gdb/symfile.c: Transfer rate calculation Shaun Jackman

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).