SST 16.0.0
Structural Simulation Toolkit
SST::IMPL::Interactive::DebugConsole Class Reference
Inheritance diagram for SST::IMPL::Interactive::DebugConsole:
SST::InteractiveConsole

Public Member Functions

 SST_ELI_REGISTER_INTERACTIVE_CONSOLE (DebugConsole, "sst", "interactive.debugger", SST_ELI_ELEMENT_VERSION(1, 0, 0), "{EXPERIMENTAL} Interactive console debug probe") SST_ELI_DOCUMENT_PARAMS(
 DebugConsole (Params &params)
 Creates a new self partition scheme.
int execute (const std::string &msg) override
 Called by TimeVortex to trigger checkpoint on simulation clock interval - not used in parallel simulation.
void summary () override
 Called by SyncManager to get summary info for each thread.
void get_listing_strings (std::list< std::string > &)
Public Member Functions inherited from SST::InteractiveConsole
 SST_ELI_DECLARE_INFO_EXTERN (ELI::ProvidesParams) InteractiveConsole()=default
 Create a new checkpoint object for the simulation core to initiate checkpoints.

Additional Inherited Members

Public Types inherited from SST::InteractiveConsole
enum  ICretcode { DONE = -1 , SUMMARY = -2 }
 Interactive Console execute return codes: Positive number is thread ID to switch to, negative is other state.
Protected Member Functions inherited from SST::InteractiveConsole
UnitAlgebra getCoreTimeBase () const
 Get the core timebase.
SimTime_t getCurrentSimCycle () const
 Return the current simulation time as a cycle count.
UnitAlgebra getElapsedSimTime () const
 Return the elapsed simulation time as a time.
SimTime_t getEndSimCycle () const
 Return the end simulation time as a cycle count.
UnitAlgebra getEndSimTime () const
 Return the end simulation time as a time.
RankInfo getRank () const
 Get this instance's parallel rank.
RankInfo getNumRanks () const
 Get the number of parallel ranks in the simulation.
Output & getSimulationOutput () const
 Return the base simulation Output class instance.
uint64_t getTimeVortexMaxDepth () const
 Return the max depth of the TimeVortex.
uint64_t getSyncQueueDataSize () const
 Return the size of the SyncQueue - per-rank.
void getMemPoolUsage (int64_t &bytes, int64_t &active_entries)
 Return MemPool usage information - per-rank.
TimeConverter getTimeConverter (const std::string &time)
 Get a TimeConverter.
void getComponentList (std::vector< std::pair< std::string, SST::Component * > > &vec)
 Get the list of Components.
void simulationRun (SimTime_t time)
 Runs the simulation the specified number of core time base units.
void schedule_interactive (SimTime_t time_offset, const std::string &msg)
 Schedules the action for execution at the current simulation time plus time_offset.
SST::Core::Serialization::ObjectMap * getComponentObjectMap ()
void simulationShutdown ()

Member Function Documentation

◆ execute()

int SST::IMPL::Interactive::DebugConsole::execute ( const std::string & msg)
overridevirtual

Called by TimeVortex to trigger checkpoint on simulation clock interval - not used in parallel simulation.

Implements SST::InteractiveConsole.

◆ summary()

void SST::IMPL::Interactive::DebugConsole::summary ( )
overridevirtual

Called by SyncManager to get summary info for each thread.

Implements SST::InteractiveConsole.

References SST::Simulation::getSimulation(), and SST::Core::Serialization::ObjectMap::getVariables().


The documentation for this class was generated from the following files:
  • src/sst/core/impl/interactive/debugConsole.h
  • src/sst/core/impl/interactive/debugConsole.cc