sim: Make the drain state a global typed enum
[gem5.git] / src / sim / async.hh
index 6ee5eb46a1902174fcbb093c6e4cfe9e0be5d973..67f686a5947dade63eb32d60c25adf968bd5807a 100644 (file)
 /// @name Asynchronous event flags.
 /// To avoid races, signal handlers simply set these flags, which are
 /// then checked in the main event loop.  Defined in main.cc.
-/// @note See the PollQueue object (in pollevent.hh) for the use of async_io and async_alarm.
 //@{
-extern volatile bool async_event;      ///< Some asynchronous event has happened.
-extern volatile bool async_dump;       ///< Async request to dump stats.
-extern volatile bool async_exit;       ///< Async request to exit simulator.
-extern volatile bool async_io;         ///< Async I/O request (SIGIO).
-extern volatile bool async_alarm;      ///< Async alarm event (SIGALRM).
+extern volatile bool async_event;       ///< Some asynchronous event has happened.
+extern volatile bool async_statdump;    ///< Async request to dump stats.
+extern volatile bool async_statreset;   ///< Async request to reset stats.
+extern volatile bool async_exit;        ///< Async request to exit simulator.
+extern volatile bool async_io;          ///< Async I/O request (SIGIO).
 extern volatile bool async_exception;   ///< Python exception.
 //@}