From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4721 invoked by alias); 15 Jul 2005 01:14:56 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 4705 invoked by uid 22791); 15 Jul 2005 01:14:52 -0000 Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.199) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 15 Jul 2005 01:14:52 +0000 Received: by rproxy.gmail.com with SMTP id z35so636928rne for ; Thu, 14 Jul 2005 18:14:51 -0700 (PDT) Received: by 10.11.99.79 with SMTP id w79mr26075cwb; Thu, 14 Jul 2005 18:14:50 -0700 (PDT) Received: by 10.11.99.15 with HTTP; Thu, 14 Jul 2005 18:14:50 -0700 (PDT) Message-ID: <7f45d9390507141814440a1690@mail.gmail.com> Date: Fri, 15 Jul 2005 01:14:00 -0000 From: Shaun Jackman Reply-To: Shaun Jackman To: gdb-patches@sources.redhat.com, gdb@sources.redhat.com Subject: Re: gdb/symfile.c: Transfer rate calculation In-Reply-To: <7f45d93905070816344ea65a3c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7f45d93905070816344ea65a3c@mail.gmail.com> X-SW-Source: 2005-07/txt/msg00177.txt.bz2 Ping? Cheers, Shaun On 2005-07-08, Shaun Jackman 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. >=20 > Cheers, > Shaun >=20 > 2005-07-08 Shaun Jackman >=20 > * 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]