SST/macro
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sstmac::metis_partition Class Reference

#include <sim_partition.h>

Inheritance diagram for sstmac::metis_partition:
Inheritance graph
Collaboration diagram for sstmac::metis_partition:
Collaboration graph

Public Member Functions

 metis_partition (parallel_runtime *rt)
 
virtual ~metis_partition ()
 
virtual void init_factory_params (sprockit::sim_parameters *params)
 
virtual void finalize_init ()
 
- Public Member Functions inherited from sstmac::partition
virtual std::string to_string () const
 
virtual ~partition ()
 
hw::index_subsetsubset (int lpid) const
 
int * num_switches_per_lp ()
 
int local_switch (int idx) const
 
int * local_switches ()
 
int * switch_to_lpid ()
 
int num_switches_total () const
 
int local_num_switches () const
 
int lpid_for_switch (int switch_id) const
 
virtual int thread_for_local_switch (int local_idx) const
 
- Public Member Functions inherited from sprockit::factory_type
virtual void init_factory_params (sim_parameters *params)
 

Protected Member Functions

void read_partition (const std::string &partfilename, int nproc)
 
- Protected Member Functions inherited from sstmac::partition
 partition (parallel_runtime *rt)
 
void init_local_switches ()
 

Protected Attributes

hw::interconnect * fake_ic_
 
- Protected Attributes inherited from sstmac::partition
int * switch_to_lpid_
 
int * num_switches_per_lp_
 
int * local_switches_
 
int num_switches_total_
 
int local_num_switches_
 
int switches_per_thread_
 
int nthread_
 
int nproc_
 
int me_
 
parallel_runtimert_
 
std::vector< hw::index_subset * > subsets_
 

Detailed Description

Definition at line 152 of file sim_partition.h.

Constructor & Destructor Documentation

sstmac::metis_partition::metis_partition ( parallel_runtime rt)
inline

Definition at line 156 of file sim_partition.h.

References sprockit::factory_type::finalize_init(), and sprockit::factory_type::init_factory_params().

Here is the call graph for this function:

virtual sstmac::metis_partition::~metis_partition ( )
virtual

Member Function Documentation

virtual void sstmac::metis_partition::finalize_init ( )
virtual

Reimplemented from sprockit::factory_type.

virtual void sstmac::metis_partition::init_factory_params ( sprockit::sim_parameters *  params)
virtual
void sstmac::metis_partition::read_partition ( const std::string &  partfilename,
int  nproc 
)
protected

Member Data Documentation

hw::interconnect* sstmac::metis_partition::fake_ic_
protected

Definition at line 171 of file sim_partition.h.


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