From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16954 invoked by alias); 18 Jul 2006 09:57:39 -0000 Received: (qmail 16940 invoked by uid 22791); 18 Jul 2006 09:57:38 -0000 X-Spam-Check-By: sourceware.org Received: from potter.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 18 Jul 2006 09:57:36 +0000 Received: (qmail 15639 invoked from network); 18 Jul 2006 09:57:34 -0000 Received: from unknown (HELO zigzag.lvk.cs.msu.su) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 18 Jul 2006 09:57:34 -0000 From: Vladimir Prus To: gdb-patches@sources.redhat.com Subject: [PATCH] improve print_transfer_performance Date: Tue, 18 Jul 2006 09:57:00 -0000 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_JCLvEJIZK+3UEDC" Message-Id: <200607181357.29949.vladimir@codesourcery.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00221.txt.bz2 --Boundary-00=_JCLvEJIZK+3UEDC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 155 Just some extra commentary. - Volodya 2006-07-18 Vladimir Prus * defs.h (print_transfer_performance): Improve comments. --Boundary-00=_JCLvEJIZK+3UEDC Content-Type: text/x-diff; charset="us-ascii"; name="3_print_transfer_performance_comments.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="3_print_transfer_performance_comments.diff" Content-length: 747 --- defs.h (revision 175) +++ defs.h (revision 176) @@ -565,7 +565,13 @@ extern void symbol_file_command (char *, /* Remote targets may wish to use this as their load function. */ extern void generic_load (char *name, int from_tty); -/* Summarise a download */ +/* Report on STREAM the performance of memory transfer operation, + such as 'load'. + DATA_COUNT is the number of bytes transferred. + WRITE_COUNT is the number of separate write operations, or 0, + if that information is not available. + START_TIME is the time at which an operation was started. + END_TIME is the time at which an operation ended. */ struct timeval; extern void print_transfer_performance (struct ui_file *stream, unsigned long data_count, --Boundary-00=_JCLvEJIZK+3UEDC--