#include <GridHybridSeedLB.h>
Definition at line 80 of file GridHybridSeedLB.h.
GridHybridSeedLB::GridHybridSeedLB | ( | const CkLBOptions & | opt | ) |
GridHybridSeedLB::GridHybridSeedLB | ( | CkMigrateMessage * | msg | ) |
Definition at line 60 of file GridHybridSeedLB.C.
References CK_LDB_GridHybridSeedLB_Background_Load, CK_LDB_GridHybridSeedLB_Load_Tolerance, CK_LDB_GridHybridSeedLB_Mode, manager_init(), and value.
Definition at line 94 of file GridHybridSeedLB.C.
References _lb_args, Converse::CkMyPe(), and CkLBArgs::debug().
void GridHybridSeedLB::work | ( | LDStats * | stats | ) |
Definition at line 992 of file GridHybridSeedLB.C.
References _lb_args, Assign_Object_To_PE(), Available_PE_Count(), CK_LDB_GridHybridSeedLB_Background_Load, CK_LDB_GridHybridSeedLB_Load_Tolerance, CK_LDB_GridHybridSeedLB_Mode, Converse::CkMyPe(), Cluster_Data, Communication_Matrix, Compute_Migratable_Object_Count(), Compute_Number_Of_Clusters(), CkLBArgs::debug(), Examine_InterObject_Messages(), Find_Maximum_Border_Object(), Find_Maximum_Border_Object_From_Seeds(), Find_Maximum_Object(), Find_Maximum_Object_From_Seeds(), Find_Minimum_PE(), Initialize_Cluster_Data(), Initialize_Communication_Matrix(), Initialize_Object_Data(), Initialize_PE_Data(), Map_NonMigratable_Objects_To_PEs(), Migratable_Objects, Num_Clusters, Num_Migratable_Objects, Num_Objects, Num_PEs, Object_Data, Partition_Objects_Into_Clusters(), and PE_Data.
void GridHybridSeedLB::pup | ( | PUP::er & | p | ) | [inline] |
Definition at line 88 of file GridHybridSeedLB.h.
Definition at line 116 of file GridHybridSeedLB.C.
Referenced by Initialize_Object_Data(), and Initialize_PE_Data().
void GridHybridSeedLB::Initialize_PE_Data | ( | CentralLB::LDStats * | stats | ) | [private] |
Definition at line 126 of file GridHybridSeedLB.C.
References PE_Data_T::available, CK_LDB_GridHybridSeedLB_Background_Load, Get_Cluster(), Num_PEs, and PE_Data.
Referenced by work().
int GridHybridSeedLB::Available_PE_Count | ( | ) | [private] |
Definition at line 165 of file GridHybridSeedLB.C.
References Num_PEs, and PE_Data.
Referenced by work().
int GridHybridSeedLB::Compute_Number_Of_Clusters | ( | ) | [private] |
Definition at line 185 of file GridHybridSeedLB.C.
References Num_PEs, and PE_Data.
Referenced by work().
void GridHybridSeedLB::Initialize_Object_Data | ( | CentralLB::LDStats * | stats | ) | [private] |
Definition at line 209 of file GridHybridSeedLB.C.
References _lb_args, Converse::CkMyPe(), CkLBArgs::debug(), Get_Cluster(), Object_Data_T::migratable, Num_Objects, and Object_Data.
Referenced by work().
int GridHybridSeedLB::Compute_Migratable_Object_Count | ( | ) | [private] |
Definition at line 239 of file GridHybridSeedLB.C.
References count, Num_Objects, and Object_Data.
Referenced by work().
void GridHybridSeedLB::Initialize_Cluster_Data | ( | ) | [private] |
Definition at line 260 of file GridHybridSeedLB.C.
References Cluster_Data, Num_Clusters, Num_PEs, and PE_Data.
Referenced by work().
void GridHybridSeedLB::Initialize_Communication_Matrix | ( | CentralLB::LDStats * | stats | ) | [private] |
Definition at line 299 of file GridHybridSeedLB.C.
References Communication_Matrix, _LDCommData::from_proc(), _LDCommDesc::get_destObj(), _LDCommDesc::get_destObjs(), _LDCommDesc::get_type(), index, _LDCommData::messages, Migratable_Objects, Num_Migratable_Objects, Num_Objects, Object_Data, _LDCommData::receiver, _LDCommData::recv_type(), and _LDCommData::sender.
Referenced by work().
void GridHybridSeedLB::Partition_Objects_Into_Clusters | ( | CentralLB::LDStats * | stats | ) | [private] |
Definition at line 393 of file GridHybridSeedLB.C.
References _lb_args, adjncy, CK_LDB_GridHybridSeedLB_Mode, Converse::CkMyPe(), Cluster_Data, Communication_Matrix, count, CkLBArgs::debug(), edgecut, index, int, METIS_PartGraphRecursive(), Migratable_Objects, Num_Clusters, Num_Migratable_Objects, Num_Objects, Object_Data, and xadj.
Referenced by work().
void GridHybridSeedLB::Examine_InterObject_Messages | ( | CentralLB::LDStats * | stats | ) | [private] |
Definition at line 529 of file GridHybridSeedLB.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 GridHybridSeedLB::Map_NonMigratable_Objects_To_PEs | ( | ) | [private] |
Definition at line 593 of file GridHybridSeedLB.C.
References _lb_args, Assign_Object_To_PE(), Converse::CkMyPe(), CkLBArgs::debug(), Num_Objects, and Object_Data.
Referenced by work().
Definition at line 616 of file GridHybridSeedLB.C.
References Num_Objects, and Object_Data.
Referenced by work().
Definition at line 645 of file GridHybridSeedLB.C.
References CK_LDB_GridHybridSeedLB_Load_Tolerance, Num_Objects, and Object_Data.
Referenced by work().
Definition at line 706 of file GridHybridSeedLB.C.
References CK_LDB_GridHybridSeedLB_Load_Tolerance, Compute_Communication_Events(), Num_Objects, Object_Data, and PE_Data.
Referenced by work().
Definition at line 767 of file GridHybridSeedLB.C.
References CK_LDB_GridHybridSeedLB_Load_Tolerance, Compute_Communication_Events(), Num_Objects, Object_Data, and PE_Data.
Referenced by work().
Definition at line 828 of file GridHybridSeedLB.C.
References Communication_Matrix, and Object_Data.
Referenced by Find_Maximum_Border_Object_From_Seeds(), and Find_Maximum_Object_From_Seeds().
Definition at line 856 of file GridHybridSeedLB.C.
References _lb_args, CK_LDB_GridHybridSeedLB_Load_Tolerance, CK_LDB_GridHybridSeedLB_Mode, Converse::CkMyPe(), CkLBArgs::debug(), Num_PEs, and PE_Data.
Referenced by work().
Definition at line 967 of file GridHybridSeedLB.C.
References Object_Data, and PE_Data.
Referenced by Map_NonMigratable_Objects_To_PEs(), and work().
Definition at line 110 of file GridHybridSeedLB.h.
Referenced by Find_Minimum_PE(), GridHybridSeedLB(), Partition_Objects_Into_Clusters(), and work().
Definition at line 111 of file GridHybridSeedLB.h.
Referenced by GridHybridSeedLB(), Initialize_PE_Data(), and work().
double GridHybridSeedLB::CK_LDB_GridHybridSeedLB_Load_Tolerance [private] |
Definition at line 112 of file GridHybridSeedLB.h.
Referenced by Find_Maximum_Border_Object(), Find_Maximum_Border_Object_From_Seeds(), Find_Maximum_Object_From_Seeds(), Find_Minimum_PE(), GridHybridSeedLB(), and work().
int GridHybridSeedLB::Num_PEs [private] |
Definition at line 114 of file GridHybridSeedLB.h.
Referenced by Available_PE_Count(), Compute_Number_Of_Clusters(), Find_Minimum_PE(), Initialize_Cluster_Data(), Initialize_PE_Data(), and work().
int GridHybridSeedLB::Num_Objects [private] |
Definition at line 115 of file GridHybridSeedLB.h.
Referenced by Compute_Migratable_Object_Count(), Examine_InterObject_Messages(), Find_Maximum_Border_Object(), Find_Maximum_Border_Object_From_Seeds(), Find_Maximum_Object(), Find_Maximum_Object_From_Seeds(), Initialize_Communication_Matrix(), Initialize_Object_Data(), Map_NonMigratable_Objects_To_PEs(), Partition_Objects_Into_Clusters(), and work().
int GridHybridSeedLB::Num_Migratable_Objects [private] |
Definition at line 116 of file GridHybridSeedLB.h.
Referenced by Initialize_Communication_Matrix(), Partition_Objects_Into_Clusters(), and work().
int GridHybridSeedLB::Num_Clusters [private] |
Definition at line 117 of file GridHybridSeedLB.h.
Referenced by Initialize_Cluster_Data(), Partition_Objects_Into_Clusters(), and work().
PE_Data_T* GridHybridSeedLB::PE_Data [private] |
Definition at line 118 of file GridHybridSeedLB.h.
Referenced by Assign_Object_To_PE(), Available_PE_Count(), Compute_Number_Of_Clusters(), Find_Maximum_Border_Object_From_Seeds(), Find_Maximum_Object_From_Seeds(), Find_Minimum_PE(), Initialize_Cluster_Data(), Initialize_PE_Data(), and work().
Object_Data_T* GridHybridSeedLB::Object_Data [private] |
Definition at line 119 of file GridHybridSeedLB.h.
Referenced by Assign_Object_To_PE(), Compute_Communication_Events(), Compute_Migratable_Object_Count(), Examine_InterObject_Messages(), Find_Maximum_Border_Object(), Find_Maximum_Border_Object_From_Seeds(), Find_Maximum_Object(), Find_Maximum_Object_From_Seeds(), Initialize_Communication_Matrix(), Initialize_Object_Data(), Map_NonMigratable_Objects_To_PEs(), Partition_Objects_Into_Clusters(), and work().
Cluster_Data_T* GridHybridSeedLB::Cluster_Data [private] |
Definition at line 120 of file GridHybridSeedLB.h.
Referenced by Initialize_Cluster_Data(), Partition_Objects_Into_Clusters(), and work().
int* GridHybridSeedLB::Migratable_Objects [private] |
Definition at line 121 of file GridHybridSeedLB.h.
Referenced by Initialize_Communication_Matrix(), Partition_Objects_Into_Clusters(), and work().
int** GridHybridSeedLB::Communication_Matrix [private] |
Definition at line 122 of file GridHybridSeedLB.h.
Referenced by Compute_Communication_Events(), Initialize_Communication_Matrix(), Partition_Objects_Into_Clusters(), and work().