#include "sim/simulate.hh"
#include <mutex>
#include <thread>
#include "base/logging.hh"
#include "base/pollevent.hh"
#include "base/types.hh"
#include "sim/async.hh"
#include "sim/eventq.hh"
#include "sim/sim_events.hh"
#include "sim/sim_exit.hh"
#include "sim/stat_control.hh"
Go to the source code of this file.
|
| Event * | gem5::doSimLoop (EventQueue *) |
| | forward declaration More...
|
| |
| static void | gem5::thread_loop (EventQueue *queue) |
| | The main function for all subordinate threads (i.e., all threads other than the main thread). More...
|
| |
| GlobalSimLoopExitEvent * | gem5::simulate (Tick num_cycles) |
| | Simulate for num_cycles additional cycles. More...
|
| |
| static bool | gem5::testAndClearAsyncEvent () |
| | Test and clear the global async_event flag, such that each time the flag is cleared, only one thread returns true (and thus is assigned to handle the corresponding async event(s)). More...
|
| |