From 0152ebd7bc3baa16eff4729d88f25dd1051b3614 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Tue, 18 Jul 2006 12:48:20 +0000 Subject: [PATCH] * defs.h (print_transfer_performance): Improve comments --- gdb/ChangeLog | 2 ++ gdb/defs.h | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 729f487c53e..245850847c2 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 * printcmd.c: Coding style fixes: add missing spaces in comments diff --git a/gdb/defs.h b/gdb/defs.h index aab91c2bf0c..c9d55041fb9 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, -- 2.30.2