diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2007-02-02 23:01:27 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2007-02-02 23:01:27 +0000 |
commit | d8c83789e9a72613a31a220966b1548b1c884ae9 (patch) | |
tree | 44eedb15bcbbb0feb3f4f508b2e3796622eee5f9 /ltconfig | |
parent | 24325aea77a78a0d37b3e64b93a00b09df3a2a67 (diff) | |
download | gdb-d8c83789e9a72613a31a220966b1548b1c884ae9.zip gdb-d8c83789e9a72613a31a220966b1548b1c884ae9.tar.gz gdb-d8c83789e9a72613a31a220966b1548b1c884ae9.tar.bz2 |
* mi/mi-main.c: Include <sys/resource.h> if present.
(rusage): Declare if HAVE_GETRUSAGE.
(current_command_ts, do_timings): New static variables.
(timestamp, print_diff_now, print_diff, timeval_diff):
New static timing functions.
(mi_cmd_enable_timings): New function for new MI command.
(captured_mi_execute_command, mi_execute_async_cli_command):
Call timing functions.
* mi/mi-cmds.c (mi_cmds): Add entry for new MI command
-enable-timings.
* mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
* mi/mi-parse.h: (mi_timestamp): New structure.
(mi_parse): Add mi_timestamp* member.
Diffstat (limited to 'ltconfig')
0 files changed, 0 insertions, 0 deletions