aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2006-07-18 12:48:20 +0000
committerVladimir Prus <vladimir@codesourcery.com>2006-07-18 12:48:20 +0000
commit0152ebd7bc3baa16eff4729d88f25dd1051b3614 (patch)
tree5ab4a950d8281226467454f76f1cb2a2b6075404
parent6962ad99e48b9d8125ff7a213cbb11dce2e469ba (diff)
downloadgdb-0152ebd7bc3baa16eff4729d88f25dd1051b3614.zip
gdb-0152ebd7bc3baa16eff4729d88f25dd1051b3614.tar.gz
gdb-0152ebd7bc3baa16eff4729d88f25dd1051b3614.tar.bz2
* defs.h (print_transfer_performance): Improve comments
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/defs.h8
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 729f487..2458508 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -2,6 +2,8 @@
* target.c (tcomplain): Mark with ATTR_NORETURN.
+ * defs.h (print_transfer_performance): Improve comments.
+
2006-07-17 Mark Kettenis <kettenis@gnu.org>
* printcmd.c: Coding style fixes: add missing spaces in comments
diff --git a/gdb/defs.h b/gdb/defs.h
index aab91c2..c9d5504 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -565,7 +565,13 @@ extern void symbol_file_command (char *, int);
/* 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,