aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
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 /gdb/defs.h
parent6962ad99e48b9d8125ff7a213cbb11dce2e469ba (diff)
downloadfsf-binutils-gdb-0152ebd7bc3baa16eff4729d88f25dd1051b3614.zip
fsf-binutils-gdb-0152ebd7bc3baa16eff4729d88f25dd1051b3614.tar.gz
fsf-binutils-gdb-0152ebd7bc3baa16eff4729d88f25dd1051b3614.tar.bz2
* defs.h (print_transfer_performance): Improve comments
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h8
1 files changed, 7 insertions, 1 deletions
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,