#include <GridHybridLB.h>
Definition at line 80 of file GridHybridLB.h.
GridHybridLB::GridHybridLB | ( | const CkLBOptions & | ) |
GridHybridLB::GridHybridLB | ( | CkMigrateMessage * | msg | ) |
Definition at line 60 of file GridHybridLB.C.
References CK_LDB_GridHybridLB_Background_Load, CK_LDB_GridHybridLB_Load_Tolerance, CK_LDB_GridHybridLB_Mode, manager_init(), and value.
Definition at line 94 of file GridHybridLB.C.
References _lb_args, Converse::CkMyPe(), and CkLBArgs::debug().
void GridHybridLB::work | ( | LDStats * | stats | ) |
Definition at line 855 of file GridHybridLB.C.
References _lb_args, Available_PE_Count(), CK_LDB_GridHybridLB_Background_Load, CK_LDB_GridHybridLB_Load_Tolerance, CK_LDB_GridHybridLB_Mode, Converse::CkMyPe(), Cluster_Data, Compute_Number_Of_Clusters(), CkLBArgs::debug(), Examine_InterObject_Messages(), Initialize_Cluster_Data(), Initialize_Object_Data(), Initialize_PE_Data(), Map_Migratable_Objects_To_PEs(), Map_NonMigratable_Objects_To_PEs(), Num_Clusters, Num_Objects, Num_PEs, Object_Data, Partition_Objects_Into_Clusters(), and PE_Data.
void GridHybridLB::pup | ( | PUP::er & | p | ) | [inline] |
Definition at line 88 of file GridHybridLB.h.
Definition at line 116 of file GridHybridLB.C.
Referenced by Initialize_Object_Data(), and Initialize_PE_Data().
void GridHybridLB::Initialize_PE_Data | ( | CentralLB::LDStats * | stats | ) | [private] |
Definition at line 126 of file GridHybridLB.C.
References PE_Data_T::available, CK_LDB_GridHybridLB_Background_Load, Get_Cluster(), Num_PEs, and PE_Data.
Referenced by work().
int GridHybridLB::Available_PE_Count | ( | ) | [private] |
Definition at line 166 of file GridHybridLB.C.
References Num_PEs, and PE_Data.
Referenced by work().
int GridHybridLB::Compute_Number_Of_Clusters | ( | ) | [private] |
Definition at line 186 of file GridHybridLB.C.
References Num_PEs, and PE_Data.
Referenced by work().
void GridHybridLB::Initialize_Object_Data | ( | CentralLB::LDStats * | stats | ) | [private] |
Definition at line 210 of file GridHybridLB.C.
References _lb_args, Converse::CkMyPe(), CkLBArgs::debug(), Get_Cluster(), Object_Data_T::migratable, Num_Objects, and Object_Data.
Referenced by work().
void GridHybridLB::Initialize_Cluster_Data | ( | ) | [private] |
Definition at line 242 of file GridHybridLB.C.
References Cluster_Data, Num_Clusters, Num_PEs, and PE_Data.
Referenced by work().
void GridHybridLB::Partition_Objects_Into_Clusters | ( | CentralLB::LDStats * | stats | ) | [private] |
Definition at line 282 of file GridHybridLB.C.
References _lb_args, adjncy, CK_LDB_GridHybridLB_Mode, Converse::CkMyPe(), Cluster_Data, count, CkLBArgs::debug(), edgecut, _LDCommData::from_proc(), _LDCommDesc::get_destObj(), _LDCommDesc::get_destObjs(), _LDCommDesc::get_type(), index, int, _LDCommData::messages, METIS_PartGraphRecursive(), Num_Clusters, Num_Objects, Object_Data, _LDCommData::receiver, _LDCommData::recv_type(), _LDCommData::sender, and xadj.
Referenced by work().
void GridHybridLB::Examine_InterObject_Messages | ( | CentralLB::LDStats * | stats | ) | [private] |
Definition at line 527 of file GridHybridLB.C.
References _LDCommData::from_proc(), _LDCommDesc::get_destObj(), _LDCommDesc::get_destObjs(), _LDCommDesc::get_type(), _LDCommData::messages, Num_Objects, Object_Data, _LDCommData::receiver, _LDCommData::recv_type(), and _LDCommData::sender.
Referenced by work().
void GridHybridLB::Map_NonMigratable_Objects_To_PEs | ( | ) | [private] |
Definition at line 593 of file GridHybridLB.C.
References _lb_args, Assign_Object_To_PE(), Converse::CkMyPe(), CkLBArgs::debug(), Num_Objects, and Object_Data.
Referenced by work().
void GridHybridLB::Map_Migratable_Objects_To_PEs | ( | int | cluster | ) | [private] |
Definition at line 614 of file GridHybridLB.C.
References Assign_Object_To_PE(), Find_Maximum_Object(), and Find_Minimum_PE().
Referenced by work().
Definition at line 642 of file GridHybridLB.C.
References CK_LDB_GridHybridLB_Load_Tolerance, Num_Objects, and Object_Data.
Referenced by Map_Migratable_Objects_To_PEs().
Definition at line 717 of file GridHybridLB.C.
References _lb_args, CK_LDB_GridHybridLB_Load_Tolerance, CK_LDB_GridHybridLB_Mode, Converse::CkMyPe(), CkLBArgs::debug(), Num_PEs, and PE_Data.
Referenced by Map_Migratable_Objects_To_PEs().
Definition at line 830 of file GridHybridLB.C.
References Object_Data, and PE_Data.
Referenced by Map_Migratable_Objects_To_PEs(), and Map_NonMigratable_Objects_To_PEs().
int GridHybridLB::CK_LDB_GridHybridLB_Mode [private] |
Definition at line 105 of file GridHybridLB.h.
Referenced by Find_Minimum_PE(), GridHybridLB(), Partition_Objects_Into_Clusters(), and work().
Definition at line 106 of file GridHybridLB.h.
Referenced by GridHybridLB(), Initialize_PE_Data(), and work().
double GridHybridLB::CK_LDB_GridHybridLB_Load_Tolerance [private] |
Definition at line 107 of file GridHybridLB.h.
Referenced by Find_Maximum_Object(), Find_Minimum_PE(), GridHybridLB(), and work().
int GridHybridLB::Num_PEs [private] |
Definition at line 109 of file GridHybridLB.h.
Referenced by Available_PE_Count(), Compute_Number_Of_Clusters(), Find_Minimum_PE(), Initialize_Cluster_Data(), Initialize_PE_Data(), and work().
int GridHybridLB::Num_Objects [private] |
Definition at line 110 of file GridHybridLB.h.
Referenced by Examine_InterObject_Messages(), Find_Maximum_Object(), Initialize_Object_Data(), Map_NonMigratable_Objects_To_PEs(), Partition_Objects_Into_Clusters(), and work().
int GridHybridLB::Num_Clusters [private] |
Definition at line 111 of file GridHybridLB.h.
Referenced by Initialize_Cluster_Data(), Partition_Objects_Into_Clusters(), and work().
PE_Data_T* GridHybridLB::PE_Data [private] |
Definition at line 112 of file GridHybridLB.h.
Referenced by Assign_Object_To_PE(), Available_PE_Count(), Compute_Number_Of_Clusters(), Find_Minimum_PE(), Initialize_Cluster_Data(), Initialize_PE_Data(), and work().
Object_Data_T* GridHybridLB::Object_Data [private] |
Definition at line 113 of file GridHybridLB.h.
Referenced by Assign_Object_To_PE(), Examine_InterObject_Messages(), Find_Maximum_Object(), Initialize_Object_Data(), Map_NonMigratable_Objects_To_PEs(), Partition_Objects_Into_Clusters(), and work().
Cluster_Data_T* GridHybridLB::Cluster_Data [private] |
Definition at line 114 of file GridHybridLB.h.
Referenced by Initialize_Cluster_Data(), Partition_Objects_Into_Clusters(), and work().