gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
sim_exit.hh File Reference
#include <functional>
#include <string>
#include "base/types.hh"

Go to the source code of this file.

Namespaces

namespace  gem5
 Copyright (c) 2024 Arm Limited All rights reserved.
 

Functions

Tick gem5::curTick ()
 The universal simulation clock.
 
void gem5::registerExitCallback (const std::function< void()> &callback)
 Register an exit callback.
 
void gem5::exitSimLoop (const std::string &message, int exit_code, Tick when, Tick repeat, bool serialize)
 The "old style" exitSimLoop functions.
 
void gem5::exitSimLoopNow (const std::string &message, int exit_code=0, Tick repeat=0, bool serialize=false)
 Schedule an event as above, but make it high priority so it runs before any normal events which are schedule at the current time.
 
void gem5::exitSimLoopWithHypercall (const std::string &message, int exit_code, Tick when, Tick repeat, std::map< std::string, std::string > payload, uint64_t hypercall_id, bool serialize)
 
void gem5::exitSimulationLoop (uint64_t type_id, std::map< std::string, std::string > payload, Tick when)
 The "new style" exitSimLoop functions.
 
void gem5::exitSimulationLoopNow (uint64_t type_id, std::map< std::string, std::string > payload)
 

Generated on Mon May 26 2025 09:19:16 for gem5 by doxygen 1.13.2