This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] improve print_transfer_performance
- From: Vladimir Prus <vladimir at codesourcery dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 18 Jul 2006 13:57:29 +0400
- Subject: [PATCH] improve print_transfer_performance
Just some extra commentary.
- Volodya
2006-07-18 Vladimir Prus <vladimir@codesourcery.com>
* defs.h (print_transfer_performance): Improve comments.
--- 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,