PPL Logo

GridMetisLB Class Reference

#include <GridMetisLB.h>

Inheritance diagram for GridMetisLB:

Inheritance graph
[legend]
Collaboration diagram for GridMetisLB:

Collaboration graph
[legend]

Public Member Functions

 GridMetisLB (const CkLBOptions &)
 GridMetisLB (CkMigrateMessage *msg)
bool 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 Initialize_Cluster_Data ()
void Partition_Objects_Into_Clusters (CentralLB::LDStats *stats)
void Partition_ClusterObjects_Into_PEs (CentralLB::LDStats *stats, int cluster)

Private Attributes

int CK_LDB_GridMetisLB_Mode
int CK_LDB_GridMetisLB_Background_Load
int Num_PEs
int Num_Objects
int Num_Clusters
PE_Data_TPE_Data
Object_Data_TObject_Data
Cluster_Data_TCluster_Data

Detailed Description

Definition at line 73 of file GridMetisLB.h.


Constructor & Destructor Documentation

GridMetisLB::GridMetisLB ( const CkLBOptions  ) 

GridMetisLB::GridMetisLB ( CkMigrateMessage msg  ) 

Definition at line 54 of file GridMetisLB.C.

References CK_LDB_GridMetisLB_Background_Load, CK_LDB_GridMetisLB_Mode, manager_init(), and value.

Here is the call graph for this function:


Member Function Documentation

bool GridMetisLB::QueryBalanceNow ( int  step  ) 

Definition at line 82 of file GridMetisLB.C.

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

Here is the call graph for this function:

void GridMetisLB::work ( LDStats *  stats  ) 

void GridMetisLB::pup ( PUP::er p  )  [inline]

Definition at line 81 of file GridMetisLB.h.

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

Definition at line 104 of file GridMetisLB.C.

Referenced by Initialize_PE_Data().

Here is the caller graph for this function:

void GridMetisLB::Initialize_PE_Data ( CentralLB::LDStats *  stats  )  [private]

Definition at line 114 of file GridMetisLB.C.

References PE_Data_T::available, CK_LDB_GridMetisLB_Background_Load, Get_Cluster(), Num_PEs, and PE_Data.

Referenced by work().

Here is the call graph for this function:

Here is the caller graph for this function:

int GridMetisLB::Available_PE_Count (  )  [private]

Definition at line 150 of file GridMetisLB.C.

References Num_PEs, and PE_Data.

Referenced by work().

Here is the caller graph for this function:

int GridMetisLB::Compute_Number_Of_Clusters (  )  [private]

Definition at line 170 of file GridMetisLB.C.

References Num_PEs, and PE_Data.

Referenced by work().

Here is the caller graph for this function:

void GridMetisLB::Initialize_Object_Data ( CentralLB::LDStats *  stats  )  [private]

Definition at line 194 of file GridMetisLB.C.

References _lb_args, Converse::CkMyPe(), CkLBArgs::debug(), Object_Data_T::migratable, Num_Objects, Object_Data, and PE_Data.

Referenced by work().

Here is the call graph for this function:

Here is the caller graph for this function:

void GridMetisLB::Initialize_Cluster_Data (  )  [private]

Definition at line 226 of file GridMetisLB.C.

References Cluster_Data, Num_Clusters, Num_PEs, and PE_Data.

Referenced by work().

Here is the caller graph for this function:

void GridMetisLB::Partition_Objects_Into_Clusters ( CentralLB::LDStats *  stats  )  [private]

void GridMetisLB::Partition_ClusterObjects_Into_PEs ( CentralLB::LDStats *  stats,
int  cluster 
) [private]


Field Documentation

Definition at line 93 of file GridMetisLB.h.

Referenced by GridMetisLB(), Partition_Objects_Into_Clusters(), and work().

Definition at line 94 of file GridMetisLB.h.

Referenced by GridMetisLB(), Initialize_PE_Data(), and work().

Definition at line 98 of file GridMetisLB.h.

Referenced by Initialize_Cluster_Data(), Partition_Objects_Into_Clusters(), and work().

Definition at line 101 of file GridMetisLB.h.

Referenced by Initialize_Cluster_Data(), Partition_Objects_Into_Clusters(), and work().


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

Generated on Mon Sep 21 08:25:25 2020 for Charm++ by  doxygen 1.5.5