SST/macro
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sstmac::native::macro_manager Class Reference

#include <manager.h>

Inheritance diagram for sstmac::native::macro_manager:
Inheritance graph
Collaboration diagram for sstmac::native::macro_manager:
Collaboration graph

Public Member Functions

 macro_manager (parallel_runtime *rt)
 
virtual ~macro_manager () throw ()
 
virtual void init_factory_params (sprockit::sim_parameters *params)
 
timestamp run (timestamp until=timestamp(-1))
 run More...
 
void finish ()
 
- Public Member Functions inherited from sstmac::native::manager
 manager ()
 
virtual std::string to_string () const
 
virtual ~manager () throw ()
 Goodbye. More...
 
void init_factory_params (sprockit::sim_parameters *params)
 
sstmac::hw::interconnect * interconn () const
 
void build_apps (sprockit::sim_parameters *params)
 
void build_app (int appnum, sprockit::sim_parameters *params)
 
- Public Member Functions inherited from sprockit::factory_type
virtual void init_factory_params (sim_parameters *params)
 
virtual void finalize_init ()
 

Private Member Functions

void launch_app (int appnum, timestamp start, sw::app_launch *appman)
 
void launch_apps ()
 
void start ()
 
void stop ()
 

Private Attributes

event_managerevent_manager_
 The event manager. More...
 
bool running_
 Monitor whether the simulator is currently running. More...
 
sw::job_launcherlauncher_
 

Additional Inherited Members

- Static Public Member Functions inherited from sstmac::native::manager
static int compute_max_nproc (sprockit::sim_parameters *params)
 
static int compute_max_nproc_for_app (sprockit::sim_parameters *app_params)
 
- Protected Attributes inherited from sstmac::native::manager
sstmac::sw::app_id next_ppid_
 Next parallel process id. More...
 
std::map< int, sw::app_launch * > app_managers_
 
sstmac::hw::interconnect * interconnect_
 
parallel_runtimert_
 

Detailed Description

Definition at line 94 of file manager.h.

Constructor & Destructor Documentation

sstmac::native::macro_manager::macro_manager ( parallel_runtime rt)
virtual sstmac::native::macro_manager::~macro_manager ( )
throw (
)
virtual

Member Function Documentation

void sstmac::native::macro_manager::finish ( )
virtual
virtual void sstmac::native::macro_manager::init_factory_params ( sprockit::sim_parameters *  params)
virtual
void sstmac::native::macro_manager::launch_app ( int  appnum,
timestamp  start,
sw::app_launch appman 
)
private
void sstmac::native::macro_manager::launch_apps ( )
private
timestamp sstmac::native::macro_manager::run ( timestamp  until = timestamp(-1))
virtual

run

Parameters
untilThe time to run until. Negative value indicates run until no more events
Returns
The time of the last event

Implements sstmac::native::manager.

void sstmac::native::macro_manager::start ( )
private
void sstmac::native::macro_manager::stop ( )
privatevirtual

Member Data Documentation

event_manager* sstmac::native::macro_manager::event_manager_
private

The event manager.

Definition at line 126 of file manager.h.

sw::job_launcher* sstmac::native::macro_manager::launcher_
private

Definition at line 131 of file manager.h.

bool sstmac::native::macro_manager::running_
private

Monitor whether the simulator is currently running.

Definition at line 129 of file manager.h.


The documentation for this class was generated from the following file: