gem5  v22.1.0.0
Classes | Namespaces | Functions | Variables
simulate.cc File Reference
#include "sim/simulate.hh"
#include <atomic>
#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.

Classes

class  gem5::SimulatorThreads
 
struct  gem5::DescheduleDeleter
 

Namespaces

 gem5
 Reference material can be found at the JEDEC website: UFS standard http://www.jedec.org/standards-documents/results/jesd220 UFS HCI specification http://www.jedec.org/standards-documents/results/jesd223.
 

Functions

Event * gem5::doSimLoop (EventQueue *)
 forward declaration More...
 
GlobalSimLoopExitEvent * gem5::simulate (Tick num_cycles)
 Simulate for num_cycles additional cycles. More...
 
void gem5::set_max_tick (Tick tick)
 Set the maximum tick. More...
 
Tick gem5::get_max_tick ()
 Get the maximum simulation tick. More...
 
void gem5::terminateEventQueueThreads ()
 Terminate helper threads when running in parallel mode. 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...
 

Variables

GlobalSimLoopExitEvent * gem5::simulate_limit_event = nullptr
 
static std::unique_ptr< SimulatorThreads > gem5::simulatorThreads
 

Generated on Wed Dec 21 2022 10:22:59 for gem5 by doxygen 1.9.1