diff options
author | Daniel Jacobowitz <drow@false.org> | 2005-08-02 03:02:05 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2005-08-02 03:02:05 +0000 |
commit | 2b71414df9c47e9a1deca9885bf59ecbfa82a0ad (patch) | |
tree | 96f62a4374fb903ff360f9bce3fe841753196869 /gdb/defs.h | |
parent | 4bb64c2874fb99d88129a9f329586625f9a2853b (diff) | |
download | gdb-2b71414df9c47e9a1deca9885bf59ecbfa82a0ad.zip gdb-2b71414df9c47e9a1deca9885bf59ecbfa82a0ad.tar.gz gdb-2b71414df9c47e9a1deca9885bf59ecbfa82a0ad.tar.bz2 |
Suggested by Shaun Jackman <sjackman@gmail.com>:
* defs.h (print_transfer_performance): Update prototype.
* m32r-rom.c (m32r_load, m32r_upload_command): Use gettimeofday
for print_transfer_performance.
* remote-m32r-sdi.c (m32r_load): Likewise.
* symfile.c (generic_load): Likewise.
(report_transfer_performance): Create a dummy struct timeval.
(print_transfer_performance): Use a more accurate measure
of performance.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -552,10 +552,12 @@ extern void symbol_file_command (char *, int); extern void generic_load (char *name, int from_tty); /* Summarise a download */ +struct timeval; extern void print_transfer_performance (struct ui_file *stream, unsigned long data_count, unsigned long write_count, - unsigned long time_count); + const struct timeval *start_time, + const struct timeval *end_time); /* From top.c */ |