diff options
Diffstat (limited to 'gdb/mi/mi-parse.h')
-rw-r--r-- | gdb/mi/mi-parse.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/mi/mi-parse.h b/gdb/mi/mi-parse.h index 56bb696..b89dbd6 100644 --- a/gdb/mi/mi-parse.h +++ b/gdb/mi/mi-parse.h @@ -24,6 +24,13 @@ /* MI parser */ +/* Timestamps for current command and last asynchronous command. */ +struct mi_timestamp { + struct timeval wallclock; + struct timeval utime; + struct timeval stime; +}; + enum mi_command_type { MI_COMMAND, CLI_COMMAND @@ -35,6 +42,7 @@ struct mi_parse char *command; char *token; const struct mi_cmd *cmd; + struct mi_timestamp *cmd_start; char *args; char **argv; int argc; |