SST/macro
Public Member Functions | List of all members
sstmac::sw::sdn_job_launcher Class Reference

#include <sdn_launcher.h>

Inheritance diagram for sstmac::sw::sdn_job_launcher:
Inheritance graph
Collaboration diagram for sstmac::sw::sdn_job_launcher:
Collaboration graph

Public Member Functions

std::string to_string () const
 
virtual void handle_new_launch_request (app_launch *appman)
 handle_new_launch_request As if a new job had been submitted with qsub or salloc. More...
 
- Public Member Functions inherited from sstmac::sw::job_launcher
void handle (event *ev)
 
void set_interconnect (hw::interconnect *ic)
 
node_id node_for_task (app_id aid, task_id tid) const
 
app_launchtask_mapper (app_id aid) const
 
virtual void init_factory_params (sprockit::sim_parameters *params)
 
- Public Member Functions inherited from sprockit::factory_type
virtual void init_factory_params (sim_parameters *params)
 
virtual void finalize_init ()
 
- Public Member Functions inherited from sstmac::event_handler
virtual ~event_handler ()
 
event_loc_id event_location () const
 
virtual bool ipc_handler () const
 Whether an event handler is a "fake" handler that represents logical process boundary. More...
 
int thread_id () const
 
virtual void deadlock_check (event *ev)
 
virtual void deadlock_check ()
 

Additional Inherited Members

- Static Public Attributes inherited from sstmac::event_handler
static const int null_lpid = -1
 
static const int null_threadid = -1
 
- Protected Member Functions inherited from sstmac::sw::job_launcher
void satisfy_launch_request (app_launch *appman)
 
- Protected Member Functions inherited from sstmac::event_handler
 event_handler ()
 
void init_loc_id (event_loc_id id)
 
void init_thread_id (int id)
 
- Protected Attributes inherited from sstmac::sw::job_launcher
hw::interconnect * interconnect_
 
ordered_node_set allocated_
 
ordered_node_set available_
 
std::map< app_id, app_launch * > apps_launched_
 

Detailed Description

Definition at line 13 of file sdn_launcher.h.

Member Function Documentation

virtual void sstmac::sw::sdn_job_launcher::handle_new_launch_request ( app_launch appman)
virtual

handle_new_launch_request As if a new job had been submitted with qsub or salloc.

The job_launcher receives a new request to launch an application, at which point it can choose to launch the application immediately if node allocation succeeds.

Parameters
appnumA unique integer identifying the application launched
appmanAn object specifying all the details (indexing, allocation, application type) of the application being launched

Implements sstmac::sw::job_launcher.

Referenced by to_string().

std::string sstmac::sw::sdn_job_launcher::to_string ( ) const
inlinevirtual

Implements sstmac::event_handler.

Definition at line 18 of file sdn_launcher.h.

References handle_new_launch_request().

Here is the call graph for this function:


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