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

#include <sim_partition.h>

Inheritance diagram for sstmac::topology_partition:
Inheritance graph
Collaboration diagram for sstmac::topology_partition:
Collaboration graph

Public Member Functions

 topology_partition (parallel_runtime *rt)
 
virtual ~topology_partition ()
 
virtual void init_factory_params (sprockit::sim_parameters *params)
 
virtual void finalize_init ()
 
virtual int thread_for_local_switch (int local_idx) const
 
- 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
 
- Public Member Functions inherited from sprockit::factory_type
virtual void init_factory_params (sim_parameters *params)
 

Protected Attributes

hw::topology * fake_top_
 
int * local_switch_to_thread_
 
int noccupied_
 
- 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_
 

Additional Inherited Members

- Protected Member Functions inherited from sstmac::partition
 partition (parallel_runtime *rt)
 
void init_local_switches ()
 

Detailed Description

Definition at line 175 of file sim_partition.h.

Constructor & Destructor Documentation

sstmac::topology_partition::topology_partition ( parallel_runtime rt)
inline

Definition at line 179 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::topology_partition::~topology_partition ( )
virtual

Member Function Documentation

virtual void sstmac::topology_partition::finalize_init ( )
virtual

Reimplemented from sprockit::factory_type.

virtual void sstmac::topology_partition::init_factory_params ( sprockit::sim_parameters *  params)
virtual
virtual int sstmac::topology_partition::thread_for_local_switch ( int  local_idx) const
inlinevirtual

Reimplemented from sstmac::partition.

Definition at line 190 of file sim_partition.h.

Member Data Documentation

hw::topology* sstmac::topology_partition::fake_top_
protected

Definition at line 195 of file sim_partition.h.

int* sstmac::topology_partition::local_switch_to_thread_
protected

Definition at line 197 of file sim_partition.h.

int sstmac::topology_partition::noccupied_
protected

Definition at line 199 of file sim_partition.h.


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