PPL Logo

GridCommRefineLB Class Reference

#include <GridCommRefineLB.h>

Inheritance diagram for GridCommRefineLB:

Inheritance graph
[legend]
Collaboration diagram for GridCommRefineLB:

Collaboration graph
[legend]

Public Member Functions

 GridCommRefineLB (const CkLBOptions &)
 GridCommRefineLB (CkMigrateMessage *msg)
CmiBool QueryBalanceNow (int step)
void work (LDStats *stats)
void pup (PUP::er &p)

Private Member Functions

int Get_Cluster (int pe)
void Initialize_PE_Data (CentralLB::LDStats *stats)
int Available_PE_Count ()
int Compute_Number_Of_Clusters ()
void Initialize_Object_Data (CentralLB::LDStats *stats)
void Examine_InterObject_Messages (CentralLB::LDStats *stats)
void Place_Objects_On_PEs ()
void Remap_Objects_To_PEs (int cluster)
int Find_Maximum_WAN_Object (int pe)
int Find_Minimum_WAN_PE (int cluster)
void Remove_Object_From_PE (int target_object, int target_pe)
void Assign_Object_To_PE (int target_object, int target_pe)

Private Attributes

int Num_PEs
int Num_Objects
int Num_Clusters
PE_Data_TPE_Data
Object_Data_TObject_Data
double CK_LDB_GridCommRefineLB_Tolerance

Detailed Description

Definition at line 45 of file GridCommRefineLB.h.


Constructor & Destructor Documentation

GridCommRefineLB::GridCommRefineLB ( const CkLBOptions  ) 

GridCommRefineLB::GridCommRefineLB ( CkMigrateMessage msg  ) 


Member Function Documentation

CmiBool GridCommRefineLB::QueryBalanceNow ( int  step  )  [virtual]

Reimplemented from CentralLB.

Definition at line 106 of file GridCommRefineLB.C.

References _lb_args, Converse::CkMyPe(), CmiTrue, and CkLBArgs::debug().

void GridCommRefineLB::work ( LDStats stats  ) 

void GridCommRefineLB::pup ( PUP::er p  )  [inline, virtual]

Reimplemented from CentralLB.

Definition at line 53 of file GridCommRefineLB.h.

References CentralLB::pup().

int GridCommRefineLB::Get_Cluster ( int  pe  )  [private]

void GridCommRefineLB::Initialize_PE_Data ( CentralLB::LDStats stats  )  [private]

int GridCommRefineLB::Available_PE_Count (  )  [private]

Definition at line 186 of file GridCommRefineLB.C.

References Num_PEs, and PE_Data.

Referenced by work().

int GridCommRefineLB::Compute_Number_Of_Clusters (  )  [private]

Definition at line 206 of file GridCommRefineLB.C.

References Num_PEs, and PE_Data.

Referenced by work().

void GridCommRefineLB::Initialize_Object_Data ( CentralLB::LDStats stats  )  [private]

void GridCommRefineLB::Examine_InterObject_Messages ( CentralLB::LDStats stats  )  [private]

void GridCommRefineLB::Place_Objects_On_PEs (  )  [private]

Definition at line 329 of file GridCommRefineLB.C.

References Assign_Object_To_PE(), Num_Objects, and Object_Data.

Referenced by work().

void GridCommRefineLB::Remap_Objects_To_PEs ( int  cluster  )  [private]

int GridCommRefineLB::Find_Maximum_WAN_Object ( int  pe  )  [private]

Definition at line 422 of file GridCommRefineLB.C.

References Num_Objects, and Object_Data.

Referenced by Remap_Objects_To_PEs().

int GridCommRefineLB::Find_Minimum_WAN_PE ( int  cluster  )  [private]

Definition at line 462 of file GridCommRefineLB.C.

References Num_PEs, and PE_Data.

Referenced by Remap_Objects_To_PEs().

void GridCommRefineLB::Remove_Object_From_PE ( int  target_object,
int  target_pe 
) [private]

Definition at line 530 of file GridCommRefineLB.C.

References Object_Data, and PE_Data.

Referenced by Remap_Objects_To_PEs().

void GridCommRefineLB::Assign_Object_To_PE ( int  target_object,
int  target_pe 
) [private]

Definition at line 556 of file GridCommRefineLB.C.

References Object_Data, and PE_Data.

Referenced by Place_Objects_On_PEs(), and Remap_Objects_To_PEs().


Field Documentation

Definition at line 71 of file GridCommRefineLB.h.

Referenced by work().

Definition at line 74 of file GridCommRefineLB.h.

Referenced by GridCommRefineLB(), and Remap_Objects_To_PEs().


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

Generated on Fri May 25 08:03:33 2012 for Charm++ by  doxygen 1.5.5