gdb: Use C++11 std::chrono
[deliverable/binutils-gdb.git] / gdb / utils.h
index 36f5294abd11cf948f1bfb9ef18463f67f4d76d4..62091f078945c4e2b3e1f576c70c6d63cad411dc 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "exceptions.h"
 #include "common/scoped_restore.h"
+#include <chrono>
 
 extern void initialize_utils (void);
 
@@ -51,7 +52,7 @@ extern const char *gdb_bfd_errmsg (bfd_error_type error_tag, char **matching);
 /* Reset the prompt_for_continue clock.  */
 void reset_prompt_for_continue_wait_time (void);
 /* Return the time spent in prompt_for_continue.  */
-struct timeval get_prompt_for_continue_wait_time (void);
+std::chrono::steady_clock::duration get_prompt_for_continue_wait_time ();
 \f
 /* Parsing utilites.  */
 
This page took 0.024876 seconds and 4 git commands to generate.