This load balancer is a neighborLB and should inherit from NborBaseLB instead of incorrectly inheriting from BaseLB.
Load balancer that use Orthogonal Recursive Bisection(ORB) to partition objects and map to processors.
!!!!!!!!!!!!!!!!! DEFUNCT !!!!!!!!!!!!!!!!!!!
This file is not compiled anymore and its uses should be replaced by the class of the same name (ObjGraph) in ckgraph.h
!!!!!!!!!!!!!!!!! DEFUNCT !!!!!!!!!!!!!!!!!!!
In OrbLB, objects are treated to be enclosed by a rectangular box using their LDObjid as coordinates.
Written by Gengbin Zheng
ORB now takes background load into account 3/26/2010: added support for avail_vector
Also struct LDStats in here should be removed and merged with the one in NborBaseLB. -- ASB
typedef LBMigrateMsg CLBMigrateMsg |
typedef LBMigrateMsg CLBMigrateMsg |
typedef LBMigrateMsg CLBMigrateMsg |
typedef LBMigrateMsg NLBMigrateMsg |
typedef LBMigrateMsg NLBMigrateMsg |
typedef void(* LBCreateFn)() |
Definition at line 123 of file LBDatabase.h.
Definition at line 124 of file LBDatabase.h.
typedef CMK_LBTIME_TYPE LBRealType |
typedef int LDObjIndex |
typedef struct _LDCommDesc LDCommDesc |
typedef struct _LDCommData LDCommData |
typedef void(* LDMigrateFn)(LDObjHandle handle, int dest) |
typedef void(* LDQueryEstLoadFn)(LDOMHandle h) |
typedef void(* LDMetaLBResumeWaitingCharesFn)(LDObjHandle handle, int lb_ideal_period) |
typedef void(* LDMetaLBCallLBOnCharesFn)(LDObjHandle handle) |
typedef void(* LDMigratedFn)(void *data, LDObjHandle handle, int waitBarrier) |
typedef void(* LDStartLBFn)(void *user_ptr) |
typedef void(* LDMigrationDoneFn)(void *user_ptr) |
typedef void(* LDPredictFn)(void *user_ptr) |
typedef void(* LDPredictModelFn)(void *user_ptr, void *model) |
typedef void(* LDPredictWindowFn)(void *user_ptr, void *model, int wind) |
typedef void(* LDBarrierFn)(void *user_ptr) |
typedef void(* LDResumeFn)(void *user_ptr) |
typedef LBMigrateMsg NLBMigrateMsg |
Definition at line 37 of file RecBisectBfLB.h.
typedef LBTopo_smp_n<1> LBTopo_smp_n_1 |
Definition at line 163 of file topology.C.
typedef LBTopo_smp_n<2> LBTopo_smp_n_2 |
Definition at line 164 of file topology.C.
typedef LBTopo_smp_n<3> LBTopo_smp_n_3 |
Definition at line 165 of file topology.C.
typedef LBTopo_smp_n<4> LBTopo_smp_n_4 |
Definition at line 166 of file topology.C.
typedef LBTopo_smp_n<5> LBTopo_smp_n_5 |
Definition at line 167 of file topology.C.
typedef LBTopo_smp_n<6> LBTopo_smp_n_6 |
Definition at line 168 of file topology.C.
typedef LBTopo_smp_n<7> LBTopo_smp_n_7 |
Definition at line 169 of file topology.C.
typedef LBTopo_smp_n<8> LBTopo_smp_n_8 |
Definition at line 170 of file topology.C.
typedef LBTopo_smp_n<9> LBTopo_smp_n_9 |
Definition at line 171 of file topology.C.
typedef LBTopo_smp_n<10> LBTopo_smp_n_10 |
Definition at line 172 of file topology.C.
typedef LBTopo_torus_nd<1> LBTopo_torus_nd_1 |
Definition at line 685 of file topology.C.
typedef LBTopo_torus_nd<2> LBTopo_torus_nd_2 |
Definition at line 686 of file topology.C.
typedef LBTopo_torus_nd<3> LBTopo_torus_nd_3 |
Definition at line 687 of file topology.C.
typedef LBTopo_torus_nd<4> LBTopo_torus_nd_4 |
Definition at line 688 of file topology.C.
typedef LBTopo_torus_nd<5> LBTopo_torus_nd_5 |
Definition at line 689 of file topology.C.
typedef LBTopo_torus_nd<6> LBTopo_torus_nd_6 |
Definition at line 690 of file topology.C.
typedef LBTopo_torus_nd<7> LBTopo_torus_nd_7 |
Definition at line 691 of file topology.C.
typedef LBTopo_torus_nd<8> LBTopo_torus_nd_8 |
Definition at line 692 of file topology.C.
typedef LBTopo_torus_nd<9> LBTopo_torus_nd_9 |
Definition at line 693 of file topology.C.
typedef LBTopo_torus_nd<10> LBTopo_torus_nd_10 |
Definition at line 694 of file topology.C.
typedef LBTopo_torus_nd_smp<1> LBTopo_torus_nd_smp_1 |
Definition at line 856 of file topology.C.
typedef LBTopo_torus_nd_smp<2> LBTopo_torus_nd_smp_2 |
Definition at line 860 of file topology.C.
typedef LBTopo_torus_nd_smp<3> LBTopo_torus_nd_smp_3 |
Definition at line 861 of file topology.C.
typedef LBTopo_torus_nd_smp<4> LBTopo_torus_nd_smp_4 |
Definition at line 862 of file topology.C.
typedef LBTopo_torus_nd_smp<5> LBTopo_torus_nd_smp_5 |
Definition at line 863 of file topology.C.
typedef LBTopo_torus_nd_smp<6> LBTopo_torus_nd_smp_6 |
Definition at line 864 of file topology.C.
typedef LBTopo_torus_nd_smp<7> LBTopo_torus_nd_smp_7 |
Definition at line 865 of file topology.C.
typedef LBTopo_torus_nd_smp<8> LBTopo_torus_nd_smp_8 |
Definition at line 866 of file topology.C.
typedef LBTopo_torus_nd_smp<9> LBTopo_torus_nd_smp_9 |
Definition at line 867 of file topology.C.
typedef LBTopo_torus_nd_smp<10> LBTopo_torus_nd_smp_10 |
Definition at line 868 of file topology.C.
typedef LBTopo_itorus_nd<1> LBTopo_itorus_nd_1 |
Definition at line 973 of file topology.C.
typedef LBTopo_itorus_nd<2> LBTopo_itorus_nd_2 |
Definition at line 977 of file topology.C.
typedef LBTopo_itorus_nd<3> LBTopo_itorus_nd_3 |
Definition at line 978 of file topology.C.
typedef LBTopo_itorus_nd<4> LBTopo_itorus_nd_4 |
Definition at line 979 of file topology.C.
typedef LBTopo_itorus_nd<5> LBTopo_itorus_nd_5 |
Definition at line 980 of file topology.C.
typedef LBTopo_itorus_nd<6> LBTopo_itorus_nd_6 |
Definition at line 981 of file topology.C.
typedef LBTopo_itorus_nd<7> LBTopo_itorus_nd_7 |
Definition at line 982 of file topology.C.
typedef LBTopo_imesh_nd<1> LBTopo_imesh_nd_1 |
Definition at line 1098 of file topology.C.
typedef LBTopo_imesh_nd<2> LBTopo_imesh_nd_2 |
Definition at line 1102 of file topology.C.
typedef LBTopo_imesh_nd<3> LBTopo_imesh_nd_3 |
Definition at line 1103 of file topology.C.
typedef LBTopo_imesh_nd<4> LBTopo_imesh_nd_4 |
Definition at line 1104 of file topology.C.
typedef LBTopo_imesh_nd<5> LBTopo_imesh_nd_5 |
Definition at line 1105 of file topology.C.
typedef LBTopo_imesh_nd<6> LBTopo_imesh_nd_6 |
Definition at line 1106 of file topology.C.
typedef LBTopo_imesh_nd<7> LBTopo_imesh_nd_7 |
Definition at line 1107 of file topology.C.
typedef LBTopo_graph_nc<2> LBTopo_graph_nc_2 |
Definition at line 1155 of file topology.C.
typedef LBTopo_graph_nc<3> LBTopo_graph_nc_3 |
Definition at line 1156 of file topology.C.
typedef LBTopo_graph_nc<4> LBTopo_graph_nc_4 |
Definition at line 1157 of file topology.C.
typedef LBTopo_graph_nc<5> LBTopo_graph_nc_5 |
Definition at line 1158 of file topology.C.
typedef LBTopo_graph_nc<6> LBTopo_graph_nc_6 |
Definition at line 1159 of file topology.C.
typedef LBTopo_graph_nc<7> LBTopo_graph_nc_7 |
Definition at line 1160 of file topology.C.
typedef LBTopo_graph_nc<8> LBTopo_graph_nc_8 |
Definition at line 1161 of file topology.C.
typedef LBTopo_graph_nc<9> LBTopo_graph_nc_9 |
Definition at line 1162 of file topology.C.
typedef LBTopo_graph_nc<10> LBTopo_graph_nc_10 |
Definition at line 1163 of file topology.C.
typedef LBTopo_graph_nc<20> LBTopo_graph_nc_20 |
Definition at line 1164 of file topology.C.
typedef LBTopo_karytree<2> LBTopo_2_arytree |
Definition at line 1214 of file topology.C.
typedef LBTopo_karytree<3> LBTopo_3_arytree |
Definition at line 1217 of file topology.C.
typedef LBTopo_karytree<4> LBTopo_4_arytree |
Definition at line 1218 of file topology.C.
typedef LBTopo_karytree<128> LBTopo_128_arytree |
Definition at line 1219 of file topology.C.
typedef LBTopo_karytree<512> LBTopo_512_arytree |
Definition at line 1220 of file topology.C.
typedef void *(* LBtopoFn)() |
Definition at line 86 of file topology.h.
LBAllocFn getLBAllocFn | ( | const char * | lbname | ) |
Definition at line 105 of file LBDatabase.C.
References LBDBRegistry::getLBAllocFn().
Referenced by CreateLBFunc_Def().
CreateLBFunc_Def | ( | AdaptiveLB | , | |
"Allow multiple strategies to work serially" | ||||
) |
Definition at line 17 of file AdaptiveLB.C.
References _lb_args, _metalb, CkLocalBranch(), Converse::CkMyPe(), CmiAbort(), getLBAllocFn(), CkLBArgs::metaLbOn(), quietModeRequested, and strdup().
void CreateAdaptiveLB | ( | ) |
Definition at line 64 of file BaseLB.C.
Referenced by BaseLB::LDStats::getHash(), and BaseLB::LDStats::makeCommHash().
Definition at line 142 of file BaseLB.C.
References doublingPrimes.
Referenced by BaseLB::LDStats::makeCommHash(), and CkHashtable::put().
Definition at line 22 of file bitvecset.C.
References malloc(), BV_Set::max, PUP::s, BV_Set::size, and BV_Set::vector.
Referenced by makeEmptySet(), and RecBisectBfLB::partitionInTwo().
Definition at line 13 of file bitvecset.C.
Referenced by RecBisectBfLB::partitionInTwo().
void destroySet | ( | BV_Set * | set | ) |
Definition at line 44 of file bitvecset.C.
References free().
Referenced by RecBisectBfLB::partitionInTwo().
Definition at line 52 of file bitvecset.C.
References BV_Set::max, BV_Set::size, and BV_Set::vector.
Referenced by RecBisectBfLB::addToQ().
Definition at line 67 of file bitvecset.C.
References BV_Set::max, and BV_Set::vector.
Referenced by RecBisectBfLB::addToQ(), RecBisectBfLB::enqChildren(), and RecBisectBfLB::findNextUnassigned().
Definition at line 77 of file bitvecset.C.
References BV_Set::size.
Referenced by RecBisectBfLB::partitionInTwo().
Definition at line 82 of file bitvecset.C.
References malloc(), BV_Set::max, BV_Set::size, and BV_Set::vector.
Referenced by RecBisectBfLB::partitionInTwo().
void getGlobalStep | ( | CkGroupID | ) |
void initMlogLBStep | ( | CkGroupID | gid | ) |
This is the first time Converse is called after AtSync method has been called by every local object.
It is a good place to insert some optimizations for synchronized checkpoint. In the case of causal message logging, we can take advantage of this situation and garbage collect at this point.
Definition at line 3279 of file ckcausalmlog.C.
References checkpointBarrierCount, Converse::CkMyPe(), countLBMigratedAway, countLBToMigrate, garbageCollectMlog(), _ckGroupID::idx, migrationDoneCalled, and onGoingLoadBalancing.
Referenced by CentralLB::ProcessAtSync().
void sendDummyMigrationCounts | ( | int * | dummyCounts | ) |
this method is used by a restarted processor to tell other processors that they are not going to receive these many objects.
. just the count not the objects themselves
Definition at line 3185 of file ckcausalmlog.C.
References _dummyMigrationHandlerIdx, buf, CmiInitMsgHeader(), CmiMyPe(), Converse::CmiSyncSend(), DummyMigrationMsg::count, DummyMigrationMsg::flag, DummyMigrationMsg::header, and DummyMigrationMsg::lbID.
Referenced by CentralLB::ProcessReceiveMigration().
CpvExtern | ( | void * | , | |
CkGridObject | ||||
) |
void UpdateLocation | ( | MigrateInfo & | migData | ) |
Definition at line 81 of file cklocation.C.
References CkLocalBranch(), LDObjHandle::id, _ckGroupID::idx, MigrateInfo::obj, MigrateInfo::to_pe, and CkLocMgr::updateLocation().
Referenced by CentralLB::ProcessReceiveMigration().
void charmrun_realloc | ( | char * | s | ) |
CreateLBFunc_Def | ( | CentralLB | , | |
"CentralLB base class" | ||||
) |
Definition at line 56 of file CentralLB.C.
References CentralLB::StartLB().
Definition at line 258 of file CentralLB.C.
References Converse::CkMyPe(), and fd.
Referenced by TempAwareRefineLB::changeFreq(), CentralLB::changeFreq(), CreateLBFunc_Def(), and TempAwareRefineLB::TempAwareRefineLB().
Definition at line 286 of file CentralLB.C.
References fd.
Referenced by CentralLB::BuildStatsMsg(), and printCurrentTemperature().
static bool isMigratable | ( | LDObjData ** | objData, | |
int * | len, | |||
int | count, | |||
const LDCommData & | commData | |||
) | [static] |
Definition at line 957 of file CentralLB.C.
References _LDCommDesc::get_destObj(), LDObjData::objID(), _LDObjKey::objID(), _LDCommData::receiver, and _LDCommData::sender.
Referenced by xi::Chare::preprocess().
int GetNewPeNumber | ( | std::vector< char > | avail | ) |
Definition at line 1300 of file CentralLB.C.
References Converse::CkMyPe(), and count.
Referenced by CentralLB::WillIbekilled().
void resumeCentralLbAfterChkpt | ( | void * | _lb | ) |
Definition at line 1399 of file CentralLB.C.
References CentralLB::endMigrationDone(), lb, and CentralLB::savedBalancing.
Referenced by CentralLB::MigrationDoneImpl().
void resumeAfterRestoreParallelRecovery | ( | void * | _lb | ) |
Definition at line 1404 of file CentralLB.C.
References lb, and CentralLB::ProcessReceiveMigration().
Referenced by CentralLB::ReceiveMigration().
void getPredictedLoadWithMsg | ( | BaseLB::LDStats * | stats, | |
int | count, | |||
LBMigrateMsg * | msg, | |||
LBInfo & | info, | |||
int | considerComm | |||
) |
Definition at line 1854 of file CentralLB.C.
References BaseLB::LDStats::getHash(), LBInfo::getInfo(), idx, BaseLB::LDStats::makeCommHash(), LBMigrateMsg::moves, LBMigrateMsg::n_moves, MigrateInfo::obj, LDObjHandle::objID(), LDObjHandle::omID(), MigrateInfo::to_pe, and BaseLB::LDStats::to_proc.
Referenced by CentralLB::ApplyDecision(), and CentralLB::findSimResults().
void CreateCentralLB | ( | ) |
void getLoadInfo | ( | BaseLB::LDStats * | stats, | |
int | count, | |||
LBInfo & | info, | |||
int | considerComm | |||
) |
void gaussj | ( | double ** | a, | |
double * | b, | |||
int | n | |||
) |
Definition at line 37 of file CentralPredictor.C.
Referenced by Marquardt_solver().
void Marquardt_coefficients | ( | double * | x, | |
double * | y, | |||
double * | param, | |||
double ** | alpha, | |||
double * | beta, | |||
double & | chisq, | |||
LBPredictorFunction * | predict | |||
) |
Definition at line 99 of file CentralPredictor.C.
References LBPredictorFunction::function(), PUP::l, PUP::m, and LBPredictorFunction::num_params.
Referenced by Marquardt_solver().
bool Marquardt_solver | ( | CentralLB::FutureModel * | mod, | |
int | object | |||
) |
Definition at line 133 of file CentralPredictor.C.
References alpha, beta, CentralLB::FutureModel::collection, CentralLB::FutureModel::cur_stats, gaussj(), Marquardt_coefficients(), LBPredictorFunction::num_params, CentralLB::FutureModel::parameters, CentralLB::FutureModel::predictor, and x.
CreateLBFunc_Def | ( | ComboCentLB | , | |
"Allow multiple strategies to work serially" | ||||
) |
Definition at line 18 of file ComboCentLB.C.
References Converse::CkMyPe(), CmiAbort(), getLBAllocFn(), p, quietModeRequested, and strdup().
void CreateComboCentLB | ( | ) |
Definition at line 568 of file TempAwareCommLB.C.
Referenced by handleTransfer().
void printMapping | ( | std::vector< Vertex > & | vertices | ) | [inline] |
Definition at line 321 of file CommAwareRefineLB.C.
Definition at line 584 of file TempAwareCommLB.C.
Referenced by updateLoadInfo().
Definition at line 592 of file TempAwareCommLB.C.
Referenced by TempAwareCommLB::work(), and CommAwareRefineLB::work().
void handleTransfer | ( | int | randomly_obj_id, | |
ProcInfo & | p, | |||
int | possible_pe, | |||
std::vector< int > * | parr_objs, | |||
ObjGraph * | ogr, | |||
ProcArray * | parr | |||
) | [inline] |
Definition at line 601 of file TempAwareCommLB.C.
References eraseObjFromParrObjs(), ProcInfo::getProcId(), ProcArray::procs, ProcInfo::totalLoad(), and ObjGraph::vertices.
Referenced by TempAwareCommLB::work(), and CommAwareRefineLB::work().
void updateLoadInfo | ( | int | p_index, | |
int | possible_pe, | |||
double | upper_threshold, | |||
double | lower_threshold, | |||
std::vector< int > & | parr_above_avg, | |||
std::vector< int > & | parr_below_avg, | |||
std::vector< bool > & | proc_load_info, | |||
ProcArray * | parr | |||
) | [inline] |
Definition at line 613 of file TempAwareCommLB.C.
References ProcInfo::getTotalLoad(), p, ProcArray::procs, and removeFromArray().
Referenced by TempAwareCommLB::work(), and CommAwareRefineLB::work().
void getPossiblePes | ( | std::vector< int > & | possible_pes, | |
int | randomly_obj_id, | |||
ObjGraph * | ogr, | |||
ProcArray * | parr | |||
) | [inline] |
Definition at line 652 of file TempAwareCommLB.C.
References index, TempAwareCommLB::ObjPeCommInfo::pcomm, sort(), and ObjGraph::vertices.
Referenced by TempAwareCommLB::work(), and CommAwareRefineLB::work().
CreateLBFunc_Def | ( | CommAwareRefineLB | , | |
"always assign the heaviest obj onto lightest loaded processor." | ||||
) |
Definition at line 54 of file CommAwareRefineLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void PrintProcLoad | ( | ProcArray * | parr | ) |
Definition at line 120 of file CommAwareRefineLB.C.
References lower_threshold, ProcArray::procs, and upper_threshold.
void CreateCommAwareRefineLB | ( | ) |
BaseLB* AllocateCommAwareRefineLB | ( | ) |
Definition at line 28 of file CommLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void init | ( | alloc_struct ** | a, | |
graph * | object_graph, | |||
int | l, | |||
int | b | |||
) |
Definition at line 118 of file CommLB.C.
References graph::data, alloc_struct::load, alloc_struct::nbyte, graph::next, graph::nmsg, and alloc_struct::nmsg.
Referenced by CkArray::allocate(), CkArrayIndex2D::CkArrayIndex2D(), CkArrayIndex3D::CkArrayIndex3D(), CkArrayIndex4D::CkArrayIndex4D(), CkArrayIndex5D::CkArrayIndex5D(), CkArrayIndex6D::CkArrayIndex6D(), fem_impl_call_init(), FTN_NAME(), LV3D1_Map::LV3D1_Map(), PUPbytes(), PUPfunctionpointer(), and CommLB::work().
void CreateCommLB | ( | ) |
static void CreateNoLB | ( | void | ) | [static] |
Definition at line 12 of file CommonLBs.C.
void initCommonLBs | ( | void | ) |
Definition at line 17 of file CommonLBs.C.
CreateLBFunc_Def | ( | DummyLB | , | |
"Dummy load | balancer, | |||
like a normal one but with empty strategy" | ||||
) |
Definition at line 10 of file DummyLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateDummyLB | ( | ) |
CreateLBFunc_Def | ( | GraphBFTLB | , | |
"Algorithm which does breadth first traversal for communication aware load balancing" | ||||
) |
Definition at line 20 of file GraphBFTLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateGraphBFTLB | ( | ) |
CreateLBFunc_Def | ( | GraphPartLB | , | |
"Algorithm which uses graph partitioning for communication aware load balancing" | ||||
) |
Definition at line 19 of file GraphPartLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateGraphPartLB | ( | ) |
CreateLBFunc_Def | ( | GreedyAgentLB | , | |
"always assign the heaviest obj onto lightest loaded processor taking into account the topology" | ||||
) |
Definition at line 19 of file GreedyAgentLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateGreedyAgentLB | ( | ) |
CreateLBFunc_Def | ( | GreedyCommLB | , | |
"Greedy algorithm which takes communication graph into account" | ||||
) |
Definition at line 24 of file GreedyCommLB.C.
References _lb_args, CkLBArgs::alpha(), alpha, CkLBArgs::beta(), beta, and manager_init().
Definition at line 126 of file GreedyCommLB.C.
References graph::data, graph::next, and graph::nmsg.
Referenced by GreedyCommLB::work().
void CreateGreedyCommLB | ( | ) |
BaseLB* AllocateGreedyCommLB | ( | ) |
Definition at line 27 of file GreedyLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateGreedyLB | ( | ) |
BaseLB* AllocateGreedyLB | ( | ) |
CreateLBFunc_Def | ( | GreedyRefineLB | , | |
"Greedy refinement-based algorithm" | ||||
) |
Definition at line 182 of file GreedyRefineLB.C.
References _lb_args, Converse::CkMyPe(), float, CkLBArgs::percentMovesAllowed(), and quietModeRequested.
Definition at line 355 of file GreedyRefineLB.C.
References Avals, Bvals, and x.
Referenced by GreedyRefineLB::receiveSolutions(), and GreedyRefineLB::work().
void CreateGreedyRefineLB | ( | ) |
BaseLB* AllocateGreedyRefineLB | ( | ) |
CreateLBFunc_Def | ( | HbmLB | , | |
"HybridBase load balancer" | ||||
) |
Definition at line 16 of file HbmLB.C.
References HbmLB::Migrated().
double myabs | ( | double | x | ) | [inline] |
Definition at line 194 of file HbmLB.C.
Referenced by HbmLB::Loadbalancing().
double mymax | ( | double | x, | |
double | y | |||
) | [inline] |
Definition at line 195 of file HbmLB.C.
Referenced by HbmLB::Loadbalancing(), and simpleFindCollisions().
void CreateHbmLB | ( | ) |
CreateLBFunc_Def | ( | HybridBaseLB | , | |
"HybridBase load balancer" | ||||
) |
Definition at line 17 of file HybridBaseLB.C.
LBVectorMigrateMsg* VectorStrategy | ( | BaseLB::LDStats * | stats | ) |
Definition at line 7 of file LButil.C.
References _lb_args, processorInfo::available, processorInfo::backgroundLoad, processorInfo::computeLoad, CkLBArgs::debug(), maxHeap::deleteMax(), CpuTopoDetails::done, VectorMigrateInfo::from_pe, InfoRecord::Id, Set::insert(), maxHeap::insert(), Set::iterator(), CkVec< T >::length(), VectorMigrateInfo::load, InfoRecord::load, LBVectorMigrateMsg::moves, msg, LBVectorMigrateMsg::n_moves, Set::next(), BaseLB::LDStats::nprocs(), p, processorInfo::pe_speed, BaseLB::LDStats::procs, CkVec< T >::push_back(), Set::remove(), and VectorMigrateInfo::to_pe.
void CreateHybridBaseLB | ( | ) |
Definition at line 23 of file HybridBaseLB.h.
Referenced by ThreeLevelTree::numChildren().
CreateLBFunc_Def | ( | HybridLB | , | |
"Hybrid load balancer" | ||||
) |
Definition at line 24 of file HybridLB.C.
References AllocateGreedyRefineLB(), AllocateRefineLB(), and refine().
void CreateHybridLB | ( | ) |
CkpvDeclare | ( | LBUserDataLayout | , | |
lbobjdatalayout | ||||
) |
CkpvDeclare | ( | int | , | |
_lb_obj_index | ||||
) |
CkpvDeclare | ( | int | , | |
numLoadBalancers | ||||
) |
num of lb created
CkpvDeclare | ( | bool | , | |
lbdatabaseInited | ||||
) |
true if lbdatabase is inited
void LBDefaultCreate | ( | const char * | lbname | ) |
Definition at line 94 of file LBDatabase.C.
References LBDBRegistry::addCompiletimeBalancer().
void LBRegisterBalancer | ( | const char * | name, | |
LBCreateFn | fn, | |||
LBAllocFn | afn, | |||
const char * | help, | |||
int | shown | |||
) |
Definition at line 100 of file LBDatabase.C.
References LBDBRegistry::addEntry().
Referenced by lbinit().
static void createLoadBalancer | ( | const char * | lbname | ) | [static] |
Definition at line 110 of file LBDatabase.C.
References CmiPrintf(), LBDBRegistry::displayLBs(), and LBDBRegistry::search().
Referenced by LBDBInit::LBDBInit().
void _loadbalancerInit | ( | ) |
Definition at line 159 of file LBDatabase.C.
References _lb_predict, _lb_predict_delay, _lb_predict_window, _lbtopo, LBDBRegistry::addRuntimeBalancer(), CkLBArgs::alpha(), argv, CkLBArgs::beta(), CkLBArgs::central_pe(), CkExit(), CkGetArgv(), Converse::CkMyPe(), BGConverse::CkMyRank(), CmiArgGroup(), CmiGetArgDoubleDesc(), CmiGetArgFlagDesc(), CmiGetArgIntDesc(), CmiGetArgStringDesc(), CmiPrintf(), CkLBArgs::debug(), LBSimulation::doSimulation, LBSimulation::dumpFile, LBSimulation::dumpStep, LBSimulation::dumpStepSize, CkLBArgs::ignoreBgLoad(), CkLBArgs::lbperiod(), CkLBArgs::lbversion(), CkLBArgs::loop(), CkLBArgs::maxDistPhases(), CkLBArgs::metaLbModelDir(), CkLBArgs::metaLbOn(), CkLBArgs::migObjOnly(), CkLBArgs::percentMovesAllowed(), CkLBArgs::printSummary(), CkLBArgs::samePeSpeed(), LBSimulation::showDecisionsOnly, LBSimulation::simProcs, LBSimulation::simStep, LBSimulation::simStepSize, CkLBArgs::statsOn(), CkLBArgs::syncResume(), CkLBArgs::targetRatio(), CkLBArgs::teamSize(), CkLBArgs::testPeSpeed(), CkLBArgs::traceComm(), and CkLBArgs::useCpuTime().
Referenced by _initCharm().
void TurnManualLBOn | ( | ) |
Definition at line 648 of file LBDatabase.C.
References LBDatabase::manualOn, LBDatabase::Object(), and LBDatabase::TurnManualLBOn().
void TurnManualLBOff | ( | ) |
Definition at line 661 of file LBDatabase.C.
References LBDatabase::manualOn, LBDatabase::Object(), and LBDatabase::TurnManualLBOff().
void LBTurnInstrumentOn | ( | ) |
Definition at line 674 of file LBDatabase.C.
References LBDatabase::CollectStatsOn(), LBDatabase::Object(), and CkLBArgs::statsOn().
Referenced by AMPI_Load_start_measure(), flbturninstrumenton(), and LV3D_PerfManager::startBalance().
void LBTurnInstrumentOff | ( | ) |
Definition at line 683 of file LBDatabase.C.
References LBDatabase::CollectStatsOff(), LBDatabase::Object(), and CkLBArgs::statsOn().
Referenced by AMPI_Load_stop_measure(), LV3D_PerfManager::doneBalance(), and flbturninstrumentoff().
void LBTurnCommOn | ( | ) |
Definition at line 692 of file LBDatabase.C.
References CkLBArgs::traceComm().
void LBTurnCommOff | ( | ) |
Definition at line 698 of file LBDatabase.C.
References CkLBArgs::traceComm().
void LBClearLoads | ( | ) |
Definition at line 704 of file LBDatabase.C.
References LBDatabase::ClearLoads(), and LBDatabase::Object().
Referenced by AMPI_Load_reset_measure(), and LV3D_PerfManager::startBalance().
void LBTurnPredictorOn | ( | LBPredictorFunction * | model | ) |
Definition at line 710 of file LBDatabase.C.
References LBDatabase::Object(), and LBDatabase::PredictorOn().
void LBTurnPredictorOn | ( | LBPredictorFunction * | model, | |
int | wind | |||
) |
Definition at line 716 of file LBDatabase.C.
References LBDatabase::Object(), and LBDatabase::PredictorOn().
void LBTurnPredictorOff | ( | ) |
Definition at line 722 of file LBDatabase.C.
References LBDatabase::Object(), and LBDatabase::PredictorOff().
void LBChangePredictor | ( | LBPredictorFunction * | model | ) |
Definition at line 728 of file LBDatabase.C.
References LBDatabase::ChangePredictor(), and LBDatabase::Object().
void LBSetPeriod | ( | double | second | ) |
Definition at line 734 of file LBDatabase.C.
References CkLBArgs::lbperiod(), LBDatabase::Object(), and LBDatabase::SetLBPeriod().
Definition at line 743 of file LBDatabase.C.
Referenced by CreateLBFunc_Def().
PUPbytes | ( | CkLBOptions | ) |
CkpvExtern | ( | int | , | |
numLoadBalancers | ||||
) |
CkpvExtern | ( | bool | , | |
hasNullLB | ||||
) |
CkpvExtern | ( | bool | , | |
lbdatabaseInited | ||||
) |
void LBDefaultCreate | ( | LBCreateFn | f | ) |
void _LBDBInit | ( | ) |
LBDatabase* LBDatabaseObj | ( | ) | [inline] |
Definition at line 468 of file LBDatabase.h.
References LBDatabase::Object().
Referenced by CentralLB::ApplyDecision(), CentralLB::BuildStatsMsg(), get_avail_vector(), controlPointManager::gotoNextPhase(), handler(), CentralLB::LoadBalance(), CentralLB::ProcessReceiveMigration(), BaseLB::pup(), CentralLB::ReceiveStats(), CkMulticastMgr::sendToSection(), set_avail_vector(), and SystemLoad::SystemLoad().
void CkStartLB | ( | ) | [inline] |
Definition at line 470 of file LBDatabase.h.
References LBDatabase::Object(), and LBDatabase::StartLB().
void get_avail_vector | ( | char * | bitmap | ) | [inline] |
Definition at line 472 of file LBDatabase.h.
References LBDatabase::get_avail_vector(), and LBDatabaseObj().
Referenced by CkMemCheckPT::isMaster().
void set_avail_vector | ( | char * | bitmap | ) | [inline] |
Definition at line 476 of file LBDatabase.h.
References LBDatabaseObj(), and LBDatabase::set_avail_vector().
Referenced by _ckAckEvac(), _ckEvacBcast(), CkMemCheckPT::isMaster(), and LV3D_PerfManager::LV3D_PerfManager().
LDHandle LDCreate | ( | void | ) |
Definition at line 18 of file lbdb.C.
References h, and LDHandle::handle.
Referenced by LBDatabase::init().
LDOMHandle LDRegisterOM | ( | LDHandle | _db, | |
LDOMid | _userID, | |||
void * | _userptr, | |||
LDCallbacks | _callbacks | |||
) |
Definition at line 25 of file lbdb.C.
References LBDB::AddOM(), and LDHandle::handle.
Referenced by LBDatabase::RegisterOM().
void LDUnregisterOM | ( | LDHandle | _db, | |
LDOMHandle | om | |||
) |
Definition at line 32 of file lbdb.C.
References LDHandle::handle, and LBDB::RemoveOM().
Referenced by LBDatabase::UnregisterOM().
Definition at line 38 of file lbdb.C.
References LDHandle::handle, and LBDB::MetaLBResumeWaitingChares().
Referenced by LBDatabase::MetaLBResumeWaitingChares().
void LDOMMetaLBCallLBOnChares | ( | LDHandle | _db | ) |
Definition at line 43 of file lbdb.C.
References LDHandle::handle, and LBDB::MetaLBCallLBOnChares().
Referenced by LBDatabase::MetaLBCallLBOnChares().
void * LDOMUserData | ( | LDOMHandle & | _h | ) |
Definition at line 48 of file lbdb.C.
References LBOM::getUserData(), LDHandle::handle, LBDB::LbOM(), and LDOMHandle::ldb.
void LDRegisteringObjects | ( | LDOMHandle | _h | ) |
Definition at line 54 of file lbdb.C.
References LDHandle::handle, LDOMHandle::ldb, and LBDB::RegisteringObjects().
Referenced by LBDatabase::RegisteringObjects().
void LDDoneRegisteringObjects | ( | LDOMHandle | _h | ) |
Definition at line 60 of file lbdb.C.
References LBDB::DoneRegisteringObjects(), LDHandle::handle, and LDOMHandle::ldb.
Referenced by LBDatabase::DoneRegisteringObjects().
LDObjHandle LDRegisterObj | ( | LDOMHandle | _h, | |
CmiUInt8 | _id, | |||
void * | _userData, | |||
bool | _migratable | |||
) |
Definition at line 66 of file lbdb.C.
References LBDB::AddObj(), LDHandle::handle, and LDOMHandle::ldb.
Referenced by LBDatabase::RegisterObj().
void LDUnregisterObj | ( | LDObjHandle | _h | ) |
Definition at line 73 of file lbdb.C.
References LDHandle::handle, LDOMHandle::ldb, LDObjHandle::omhandle, and LBDB::UnregisterObj().
Referenced by LBDatabase::UnregisterObj().
const LDObjHandle & LDGetObjHandle | ( | LDHandle | h, | |
int | oh | |||
) |
Definition at line 80 of file lbdb.C.
References LBObj::GetLDObjHandle(), LDHandle::handle, and LBDB::LbObjIdx().
Referenced by LBDatabase::GetObjHandle().
void LDObjTime | ( | LDObjHandle & | _h, | |
LBRealType | walltime, | |||
LBRealType | cputime | |||
) |
Definition at line 87 of file lbdb.C.
References LDHandle::handle, LBObj::IncrementTime(), LBDB::LbObj(), LDOMHandle::ldb, LBDB::MeasuredObjTime(), and LDObjHandle::omhandle.
Referenced by LBDatabase::ObjTime().
void LDGetObjLoad | ( | LDObjHandle & | _h, | |
LBRealType * | wallT, | |||
LBRealType * | cpuT | |||
) |
Definition at line 96 of file lbdb.C.
References LBObj::getTime(), LDHandle::handle, LBDB::LbObj(), LDOMHandle::ldb, and LDObjHandle::omhandle.
Referenced by LBDatabase::GetObjLoad().
void LDQueryKnownObjLoad | ( | LDObjHandle & | _h, | |
LBRealType * | wallT, | |||
LBRealType * | cpuT | |||
) |
Definition at line 103 of file lbdb.C.
References LDHandle::handle, LBObj::lastKnownLoad(), LBDB::LbObj(), LDOMHandle::ldb, and LDObjHandle::omhandle.
Referenced by LBDatabase::QueryKnownObjLoad().
void * LDObjUserData | ( | LDObjHandle & | _h | ) |
Definition at line 110 of file lbdb.C.
References LBObj::getLocalUserData(), LDHandle::handle, LBDB::LbObj(), LDOMHandle::ldb, and LDObjHandle::omhandle.
Referenced by CkLocRec::staticMetaLBCallLBOnChares(), CkLocRec::staticMetaLBResumeWaitingChares(), and CkLocRec::staticMigrate().
void * LDDBObjUserData | ( | LDObjHandle & | _h, | |
int | idx | |||
) |
Definition at line 118 of file lbdb.C.
References LBObj::getDBUserData(), LDHandle::handle, LBDB::LbObj(), LDOMHandle::ldb, and LDObjHandle::omhandle.
Referenced by LBDatabase::GetDBObjUserData().
void LDDumpDatabase | ( | LDHandle | _db | ) |
Definition at line 126 of file lbdb.C.
References LBDB::DumpDatabase(), and LDHandle::handle.
Referenced by LBDatabase::DumpDatabase().
void LDNotifyMigrated | ( | LDHandle | _db, | |
LDMigratedFn | fn, | |||
void * | data | |||
) |
Definition at line 132 of file lbdb.C.
References LDHandle::handle, and LBDB::NotifyMigrated().
Referenced by LBDatabase::NotifyMigrated().
void LDAddStartLBFn | ( | LDHandle | _db, | |
LDStartLBFn | fn, | |||
void * | data | |||
) |
Definition at line 138 of file lbdb.C.
References LBDB::AddStartLBFn(), and LDHandle::handle.
Referenced by LBDatabase::AddStartLBFn().
void LDRemoveStartLBFn | ( | LDHandle | _db, | |
LDStartLBFn | fn | |||
) |
Definition at line 144 of file lbdb.C.
References LDHandle::handle, and LBDB::RemoveStartLBFn().
Referenced by LBDatabase::RemoveStartLBFn().
void LDStartLB | ( | LDHandle | _db | ) |
Definition at line 150 of file lbdb.C.
References LDHandle::handle, and LBDB::StartLB().
Referenced by LBDatabase::StartLB().
void LDTurnManualLBOn | ( | LDHandle | _db | ) |
Definition at line 156 of file lbdb.C.
References LDHandle::handle, and LBDB::TurnManualLBOn().
Referenced by LBDatabase::TurnManualLBOn().
void LDTurnManualLBOff | ( | LDHandle | _db | ) |
Definition at line 162 of file lbdb.C.
References LDHandle::handle, and LBDB::TurnManualLBOff().
Referenced by LBDatabase::TurnManualLBOff().
int LDAddMigrationDoneFn | ( | LDHandle | _db, | |
LDMigrationDoneFn | fn, | |||
void * | data | |||
) |
Definition at line 168 of file lbdb.C.
References LBDB::AddMigrationDoneFn(), and LDHandle::handle.
Referenced by LBDatabase::AddMigrationDoneFn().
void LDRemoveMigrationDoneFn | ( | LDHandle | _db, | |
LDMigrationDoneFn | fn | |||
) |
Definition at line 174 of file lbdb.C.
References LDHandle::handle, and LBDB::RemoveMigrationDoneFn().
Referenced by LBDatabase::RemoveMigrationDoneFn().
void LDMigrationDone | ( | LDHandle | _db | ) |
Definition at line 180 of file lbdb.C.
References LDHandle::handle, and LBDB::MigrationDone().
Referenced by LBDatabase::MigrationDone().
void LDTurnPredictorOn | ( | LDHandle | _db, | |
void * | model | |||
) |
Definition at line 186 of file lbdb.C.
References LDHandle::handle, and LBDB::TurnPredictorOn().
Referenced by LBDatabase::ChangePredictor(), and LBDatabase::PredictorOn().
Definition at line 192 of file lbdb.C.
References LDHandle::handle, and LBDB::TurnPredictorOn().
Referenced by LBDatabase::PredictorOn().
void LDTurnPredictorOff | ( | LDHandle | _db | ) |
Definition at line 198 of file lbdb.C.
References LDHandle::handle, and LBDB::TurnPredictorOff().
Referenced by LBDatabase::PredictorOff().
void LDChangePredictor | ( | LDHandle | _db, | |
void * | model | |||
) |
Definition at line 205 of file lbdb.C.
References LBDB::ChangePredictor(), and LDHandle::handle.
void LDCollectStatsOn | ( | LDHandle | _db | ) |
Definition at line 211 of file lbdb.C.
References LDHandle::handle, LBDB::LbObj(), LBDB::ObjIsRunning(), LBDB::RunningObj(), LBObj::StartTimer(), LBDB::StatsOn(), and LBDB::TurnStatsOn().
Referenced by LBDatabase::CollectStatsOn().
void LDCollectStatsOff | ( | LDHandle | _db | ) |
Definition at line 226 of file lbdb.C.
References LDHandle::handle, and LBDB::TurnStatsOff().
Referenced by LBDatabase::CollectStatsOff().
Definition at line 232 of file lbdb.C.
References LDCollectingStats().
int CLDRunningObject | ( | LDHandle | _h, | |
LDObjHandle * | _o | |||
) |
Definition at line 240 of file lbdb.C.
References LDRunningObject().
void LDObjectStart | ( | const LDObjHandle & | _h | ) |
Definition at line 245 of file lbdb.C.
References LDHandle::handle, LBDB::LbObj(), LDOMHandle::ldb, LDObjectStop(), LBDB::ObjIsRunning(), LDObjHandle::omhandle, LBDB::RunningObj(), LBDB::SetRunningObj(), LBObj::StartTimer(), and LBDB::StatsOn().
Referenced by LBDatabase::ObjectStart().
void LDObjectStop | ( | const LDObjHandle & | _h | ) |
Definition at line 259 of file lbdb.C.
References LDHandle::handle, LBObj::IncrementTime(), LBDB::LbObj(), LDOMHandle::ldb, LBDB::MeasuredObjTime(), LBDB::NoRunningObj(), LDObjHandle::omhandle, LBDB::StatsOn(), and LBObj::StopTimer().
Referenced by LDObjectStart(), and LBDatabase::ObjectStop().
void LDSend | ( | const LDOMHandle & | destOM, | |
const CmiUInt8 & | destid, | |||
unsigned int | bytes, | |||
int | destObjProc, | |||
int | force | |||
) |
Definition at line 273 of file lbdb.C.
References _lb_args, LDHandle::handle, LDOMHandle::ldb, LBDB::Send(), LBDB::StatsOn(), and CkLBArgs::traceComm().
Referenced by LBDatabase::Send().
void LDMulticastSend | ( | const LDOMHandle & | destOM, | |
CmiUInt8 * | destids, | |||
int | ndests, | |||
unsigned int | bytes, | |||
int | nMsgs | |||
) |
Definition at line 280 of file lbdb.C.
References _lb_args, LDHandle::handle, LDOMHandle::ldb, LBDB::MulticastSend(), LBDB::StatsOn(), and CkLBArgs::traceComm().
Referenced by LBDatabase::MulticastSend().
void LDBackgroundLoad | ( | LDHandle | _db, | |
LBRealType * | walltime, | |||
LBRealType * | cputime | |||
) |
Definition at line 287 of file lbdb.C.
References LBDB::BackgroundLoad(), and LDHandle::handle.
Referenced by LBDatabase::BackgroundLoad().
void LDIdleTime | ( | LDHandle | _db, | |
LBRealType * | walltime | |||
) |
Definition at line 296 of file lbdb.C.
References LDHandle::handle, and LBDB::IdleTime().
Referenced by LBDatabase::IdleTime().
void LDTotalTime | ( | LDHandle | _db, | |
LBRealType * | walltime, | |||
LBRealType * | cputime | |||
) |
Definition at line 304 of file lbdb.C.
References LDHandle::handle, and LBDB::TotalTime().
Referenced by LBDatabase::TotalTime().
void LDGetTime | ( | LDHandle | _db, | |
LBRealType * | total_walltime, | |||
LBRealType * | total_cputime, | |||
LBRealType * | idletime, | |||
LBRealType * | bg_walltime, | |||
LBRealType * | bg_cputime | |||
) |
Definition at line 312 of file lbdb.C.
References LBDB::GetTime(), and LDHandle::handle.
Referenced by LBDatabase::GetTime().
void LDNonMigratable | ( | const LDObjHandle & | h | ) |
Definition at line 320 of file lbdb.C.
References LDHandle::handle, LBDB::LbObj(), LDOMHandle::ldb, LDObjHandle::omhandle, and LBObj::SetMigratable().
Referenced by LBDatabase::NonMigratable().
void LDMigratable | ( | const LDObjHandle & | h | ) |
Definition at line 328 of file lbdb.C.
References LDHandle::handle, LBDB::LbObj(), LDOMHandle::ldb, LDObjHandle::omhandle, and LBObj::SetMigratable().
Referenced by LBDatabase::Migratable().
void LDSetPupSize | ( | const LDObjHandle & | h, | |
size_t | obj_pup_size | |||
) |
Definition at line 336 of file lbdb.C.
References LDHandle::handle, LBDB::LbObj(), LDOMHandle::ldb, LDObjHandle::omhandle, and LBObj::setPupSize().
Referenced by LBDatabase::setPupSize().
void LDAsyncMigrate | ( | const LDObjHandle & | h, | |
bool | async | |||
) |
Definition at line 344 of file lbdb.C.
References LDHandle::handle, LBDB::LbObj(), LDOMHandle::ldb, LDObjHandle::omhandle, and LBObj::UseAsyncMigrate().
Referenced by LBDatabase::UseAsyncMigrate().
void LDClearLoads | ( | LDHandle | _db | ) |
Definition at line 352 of file lbdb.C.
References LBDB::ClearLoads(), and LDHandle::handle.
Referenced by LBDatabase::ClearLoads().
Definition at line 359 of file lbdb.C.
References LDHandle::handle, and LBDB::ObjDataCount().
Referenced by LBDatabase::GetObjDataSz().
Definition at line 366 of file lbdb.C.
References LBDB::GetObjData(), and LDHandle::handle.
Referenced by LBDatabase::GetObjData().
Definition at line 373 of file lbdb.C.
References LBDB::CommDataCount(), and LDHandle::handle.
Referenced by LBDatabase::GetCommDataSz().
void LDGetCommData | ( | LDHandle | _db, | |
LDCommData * | data | |||
) |
Definition at line 380 of file lbdb.C.
References LBDB::GetCommData(), and LDHandle::handle.
Referenced by LBDatabase::GetCommData().
void LDGetCommInfo | ( | LDHandle | _db, | |
int & | bytes, | |||
int & | msgs, | |||
int & | withinbytes, | |||
int & | outsidebytes, | |||
int & | n_nghbors, | |||
int & | hops, | |||
int & | hopbytes | |||
) |
Definition at line 388 of file lbdb.C.
References LBDB::GetCommInfo(), and LDHandle::handle.
Referenced by LBDatabase::GetCommInfo().
int LDMigrate | ( | LDObjHandle | _h, | |
int | dest | |||
) |
Definition at line 395 of file lbdb.C.
References LDHandle::handle, LDOMHandle::ldb, LBDB::Migrate(), and LDObjHandle::omhandle.
Referenced by LBDatabase::Migrate().
void LDMigrated | ( | LDObjHandle | _h, | |
int | waitBarrier | |||
) |
Definition at line 402 of file lbdb.C.
References LDHandle::handle, LDOMHandle::ldb, LBDB::Migrated(), and LDObjHandle::omhandle.
Referenced by LBDatabase::Migrated().
LDBarrierClient LDAddLocalBarrierClient | ( | LDHandle | _db, | |
LDResumeFn | fn, | |||
void * | data | |||
) |
Definition at line 409 of file lbdb.C.
References LBDB::AddLocalBarrierClient(), and LDHandle::handle.
Referenced by LBDatabase::AddLocalBarrierClient().
void LDRemoveLocalBarrierClient | ( | LDHandle | _db, | |
LDBarrierClient | h | |||
) |
Definition at line 416 of file lbdb.C.
References LDHandle::handle, and LBDB::RemoveLocalBarrierClient().
Referenced by LBDatabase::RemoveLocalBarrierClient().
LDBarrierReceiver LDAddLocalBarrierReceiver | ( | LDHandle | _db, | |
LDBarrierFn | fn, | |||
void * | data | |||
) |
Definition at line 423 of file lbdb.C.
References LBDB::AddLocalBarrierReceiver(), and LDHandle::handle.
Referenced by LBDatabase::AddLocalBarrierReceiver().
void LDRemoveLocalBarrierReceiver | ( | LDHandle | _db, | |
LDBarrierReceiver | h | |||
) |
Definition at line 430 of file lbdb.C.
References LDHandle::handle, and LBDB::RemoveLocalBarrierReceiver().
Referenced by LBDatabase::RemoveLocalBarrierReceiver().
void LDAtLocalBarrier | ( | LDHandle | _db, | |
LDBarrierClient | h | |||
) |
Definition at line 437 of file lbdb.C.
References LBDB::AtLocalBarrier(), and LDHandle::handle.
Referenced by LBDatabase::AtLocalBarrier().
void LDDecreaseLocalBarrier | ( | LDHandle | _db, | |
LDBarrierClient | h, | |||
int | c | |||
) |
Definition at line 444 of file lbdb.C.
References LBDB::DecreaseLocalBarrier(), and LDHandle::handle.
Referenced by LBDatabase::DecreaseLocalBarrier().
void LDLocalBarrierOn | ( | LDHandle | _db | ) |
Definition at line 451 of file lbdb.C.
References LDHandle::handle, and LBDB::LocalBarrierOn().
Referenced by LBDatabase::LocalBarrierOff(), and LBDatabase::LocalBarrierOn().
void LDLocalBarrierOff | ( | LDHandle | _db | ) |
Definition at line 458 of file lbdb.C.
References LDHandle::handle, and LBDB::LocalBarrierOff().
void LDResumeClients | ( | LDHandle | _db | ) |
Definition at line 466 of file lbdb.C.
References LDHandle::handle, and LBDB::ResumeClients().
Referenced by LBDatabase::ResumeClients().
Definition at line 473 of file lbdb.C.
Referenced by LDProcessorSpeed().
int LDProcessorSpeed | ( | ) |
Definition at line 482 of file lbdb.C.
References _lb_args, Converse::CkNumPes(), CmiCpuTimer(), end_time, int, CkLBArgs::samePeSpeed(), start_time, and work().
Referenced by _propMapInit(), and LBDatabase::ProcessorSpeed().
void LDSetLBPeriod | ( | LDHandle | _db, | |
double | s | |||
) |
Definition at line 535 of file lbdb.C.
References LDHandle::handle, and LBDB::SetPeriod().
Referenced by LBDatabase::SetLBPeriod().
double LDGetLBPeriod | ( | LDHandle | _db | ) |
Definition at line 541 of file lbdb.C.
References LBDB::GetPeriod(), and LDHandle::handle.
Referenced by LBDatabase::GetLBPeriod().
void LDQueryEstLoad | ( | LDHandle | bdb | ) |
Definition at line 555 of file lbdb.C.
Referenced by LBDatabase::QueryEstLoad().
Definition at line 559 of file lbdb.C.
References LDHandle::handle, and LBDB::useMem().
Referenced by LBDatabase::useMem().
Definition at line 569 of file lbdb.C.
References _LDOMid::id.
Referenced by ObjGraph::find_node(), BaseLB::LDStats::getHash(), and LBDB::Send().
void _LDOMid::pup | ( | PUP::er & | p | ) | [inline, inherited] |
void LDOMHandle::pup | ( | PUP::er & | p | ) | [inline, inherited] |
LDOMid& _LDObjKey::omID | ( | ) | [inline, inherited] |
Definition at line 89 of file lbdb.h.
References _LDObjKey::omId.
Referenced by HybridBaseLB::collectCommData(), HbmLB::collectCommData(), LBCommData::compute_key(), ObjGraph::find_node(), LBCommTable::GetCommData(), BaseLB::LDStats::getHash(), HybridBaseLB::ObjMigrated(), HybridBaseLB::ObjsMigrated(), BaseLB::LDStats::removeObject(), and HybridBaseLB::StartCollectInfo().
CmiUInt8& _LDObjKey::objID | ( | ) | [inline, inherited] |
Definition at line 90 of file lbdb.h.
References _LDObjKey::objId.
Referenced by HybridBaseLB::collectCommData(), HbmLB::collectCommData(), LBCommData::compute_key(), ObjGraph::find_node(), LBCommTable::GetCommData(), BaseLB::LDStats::getHash(), isMigratable(), HybridBaseLB::ObjMigrated(), HybridBaseLB::ObjsMigrated(), HybridBaseLB::PropagateInfo(), BaseLB::LDStats::removeObject(), and HybridBaseLB::StartCollectInfo().
const LDOMid& _LDObjKey::omID | ( | ) | const [inline, inherited] |
const CmiUInt8& _LDObjKey::objID | ( | ) | const [inline, inherited] |
void _LDObjKey::pup | ( | PUP::er & | p | ) | [inline, inherited] |
const LDOMid& LDObjHandle::omID | ( | ) | const [inline, inherited] |
Definition at line 103 of file lbdb.h.
References LDOMHandle::id.
Referenced by LBCommData::compute_key(), LBCommData::equal(), getPredictedLoadWithMsg(), HbmLB::MigrationDone(), and HybridBaseLB::ReceiveMigration().
const CmiUInt8& LDObjHandle::objID | ( | ) | const [inline, inherited] |
Definition at line 104 of file lbdb.h.
Referenced by HybridBaseLB::createMigrateMsg(), LBCommData::equal(), getPredictedLoadWithMsg(), HbmLB::MigrationDone(), and HybridBaseLB::ReceiveMigration().
void LDObjHandle::pup | ( | PUP::er & | p | ) | [inline, inherited] |
Definition at line 114 of file lbdb.h.
References LBUserDataLayout::count, and LBUserDataLayout::length.
int LBUserDataLayout::size | ( | void | ) | [inline, inherited] |
CkpvExtern | ( | LBUserDataLayout | , | |
lbobjdatalayout | ||||
) |
LBObjUserData::LBObjUserData | ( | const LBObjUserData & | d | ) | [inline, inherited] |
Definition at line 130 of file lbdb.h.
References LBObjUserData::data, LBObjUserData::init(), and size.
LBObjUserData::~LBObjUserData | ( | ) | [inline, inherited] |
LBObjUserData& LBObjUserData::operator= | ( | const LBObjUserData & | d | ) | [inline, inherited] |
Definition at line 138 of file lbdb.h.
References LBObjUserData::data, LBObjUserData::init(), and size.
void LBObjUserData::init | ( | void | ) | [inline, inherited] |
Definition at line 145 of file lbdb.h.
References LBObjUserData::data.
Referenced by LBObjUserData::getData(), LBObjUserData::LBObjUserData(), and LBObjUserData::operator=().
void LBObjUserData::pup | ( | PUP::er & | p | ) | [inline, inherited] |
void* LBObjUserData::getData | ( | int | idx | ) | [inline, inherited] |
Definition at line 147 of file lbdb.h.
References LBObjUserData::data, and LBObjUserData::init().
Referenced by LDObjData::getUserData().
const LDOMHandle& LDObjData::omHandle | ( | ) | const [inline, inherited] |
Definition at line 167 of file lbdb.h.
References LDObjHandle::omhandle.
Referenced by OrbLB::work(), and BlockLB::work().
const LDOMid& LDObjData::omID | ( | ) | const [inline, inherited] |
Definition at line 168 of file lbdb.h.
References LDOMHandle::id, and LDObjHandle::omhandle.
Referenced by HybridBaseLB::collectCommData(), HbmLB::collectCommData(), RefinerTemp::create(), ObjGraph::ObjGraph(), HybridBaseLB::ObjMigrated(), HybridBaseLB::ObjsMigrated(), BaseLB::LDStats::print(), and PhasebyArrayLB::work().
const CmiUInt8& LDObjData::objID | ( | ) | const [inline, inherited] |
Definition at line 169 of file lbdb.h.
References LDObjHandle::id.
Referenced by HybridBaseLB::collectCommData(), HbmLB::collectCommData(), RefinerTemp::create(), RefinerApprox::create(), Refiner::create(), isMigratable(), ObjGraph::ObjGraph(), HybridBaseLB::ObjMigrated(), HybridBaseLB::ObjsMigrated(), BaseLB::LDStats::print(), TempAwareRefineLB::work(), OrbLB::work(), and BlockLB::work().
const CmiUInt8& LDObjData::id | ( | ) | const [inline, inherited] |
void LDObjData::pup | ( | PUP::er & | p | ) | [inline, inherited] |
void* LDObjData::getUserData | ( | int | idx | ) | [inline, inherited] |
Definition at line 173 of file lbdb.h.
References LBObjUserData::getData().
Referenced by LBObj::getDBUserData(), and OrbLB::work().
void LDObjStats::pup | ( | PUP::er & | p | ) | [inline, inherited] |
char& _LDCommDesc::get_type | ( | ) | [inline, inherited] |
Definition at line 203 of file lbdb.h.
References _LDCommDesc::type.
Referenced by HybridBaseLB::buildCombinedLBStatsMessage(), RefinerComm::commAffinity(), LBCommData::compute_key(), TopoLB::computePartitions(), TopoCentLB::computePartitions(), RefinerComm::create(), HybridBaseLB::depositLBStatsMessage(), GridHybridSeedLB::Examine_InterObject_Messages(), GridHybridLB::Examine_InterObject_Messages(), GridCommRefineLB::Examine_InterObject_Messages(), GridCommLB::Examine_InterObject_Messages(), TopoLB::getHopBytes(), TopoLB::initDataStructures(), GridHybridSeedLB::Initialize_Communication_Matrix(), RefinerComm::objCommCost(), GridMetisLB::Partition_ClusterObjects_Into_PEs(), GridMetisLB::Partition_Objects_Into_Clusters(), GridHybridLB::Partition_Objects_Into_Clusters(), CentralLB::removeCommDataOfDeletedObjs(), CentralLB::removeNonMigratable(), TopologyAgent::TopologyAgent(), and TopoCentLB::work().
char _LDCommDesc::get_type | ( | ) | const [inline, inherited] |
int _LDCommDesc::proc | ( | ) | const [inline, inherited] |
Definition at line 205 of file lbdb.h.
References _LDCommDesc::dest, and _LDCommDesc::type.
Referenced by LBCommData::compute_key().
void _LDCommDesc::setProc | ( | int | pe | ) | [inline, inherited] |
Definition at line 206 of file lbdb.h.
References _LDCommDesc::dest, and _LDCommDesc::type.
Referenced by HybridBaseLB::buildCombinedLBStatsMessage(), and HybridBaseLB::depositLBStatsMessage().
int _LDCommDesc::lastKnown | ( | ) | const [inline, inherited] |
LDObjKey& _LDCommDesc::get_destObj | ( | ) | [inline, inherited] |
Definition at line 212 of file lbdb.h.
References _LDCommDesc::dest, and _LDCommDesc::type.
Referenced by LBCommData::compute_key(), TopoLB::computePartitions(), TopoCentLB::computePartitions(), GridHybridSeedLB::Examine_InterObject_Messages(), GridHybridLB::Examine_InterObject_Messages(), GridCommRefineLB::Examine_InterObject_Messages(), GridCommLB::Examine_InterObject_Messages(), TopoLB::getHopBytes(), BaseLB::LDStats::getRecvHash(), TopoLB::initDataStructures(), GridHybridSeedLB::Initialize_Communication_Matrix(), isMigratable(), ObjGraph::ObjGraph(), LDCommDescComp::operator()(), GridMetisLB::Partition_ClusterObjects_Into_PEs(), GridMetisLB::Partition_Objects_Into_Clusters(), GridHybridLB::Partition_Objects_Into_Clusters(), TopologyAgent::TopologyAgent(), TreeMatchLB::work(), TopoCentLB::work(), GreedyCommLB::work(), and CommLB::work().
LDObjKey const& _LDCommDesc::get_destObj | ( | ) | const [inline, inherited] |
Definition at line 216 of file lbdb.h.
References _LDCommDesc::dest, and _LDCommDesc::type.
Referenced by RefinerComm::commAffinity(), LBCommData::compute_key(), TopoLB::computePartitions(), TopoCentLB::computePartitions(), GridHybridSeedLB::Examine_InterObject_Messages(), GridHybridLB::Examine_InterObject_Messages(), GridCommRefineLB::Examine_InterObject_Messages(), GridCommLB::Examine_InterObject_Messages(), TopoLB::getHopBytes(), TopoLB::initDataStructures(), GridHybridSeedLB::Initialize_Communication_Matrix(), MulticastAgent::MulticastAgent(), RefinerComm::objCommCost(), ObjGraph::ObjGraph(), GridMetisLB::Partition_ClusterObjects_Into_PEs(), GridMetisLB::Partition_Objects_Into_Clusters(), GridHybridLB::Partition_Objects_Into_Clusters(), CentralLB::removeCommDataOfDeletedObjs(), TopoCentLB::work(), and GreedyCommLB::work().
void _LDCommDesc::init_objmsg | ( | LDOMid & | omid, | |
CmiUInt8 & | objid, | |||
int | destObjProc | |||
) | [inline, inherited] |
Definition at line 218 of file lbdb.h.
References _LDCommDesc::dest, and _LDCommDesc::type.
Referenced by LBCommData::LBCommData().
Definition at line 224 of file lbdb.h.
References _LDCommDesc::dest, and _LDCommDesc::type.
Referenced by LBCommData::LBCommData().
bool _LDCommDesc::operator== | ( | const _LDCommDesc & | obj | ) | const [inline, inherited] |
LDCommDesc & LDCommDesc::operator= | ( | const _LDCommDesc & | c | ) | [inline, inherited] |
Definition at line 523 of file lbdb.h.
References _LDCommDesc::dest, _LDCommDesc::destObj, _LDCommDesc::destObjs, _LDCommDesc::destProc, and _LDCommDesc::type.
void LDCommDesc::pup | ( | PUP::er & | p | ) | [inline, inherited] |
Definition at line 536 of file lbdb.h.
References _lb_version, _LDCommDesc::dest, PUP::er::isUnpacking(), and _LDCommDesc::type.
_LDCommData& _LDCommData::operator= | ( | const _LDCommData & | o | ) | [inline, inherited] |
Definition at line 245 of file lbdb.h.
References _LDCommData::bytes, _LDCommData::messages, _LDCommData::receiver, _LDCommData::recvHash, _LDCommData::sender, _LDCommData::sendHash, and _LDCommData::src_proc.
int _LDCommData::from_proc | ( | ) | const [inline, inherited] |
Definition at line 254 of file lbdb.h.
References _LDCommData::src_proc.
Referenced by HybridBaseLB::buildCombinedLBStatsMessage(), HybridBaseLB::collectCommData(), HbmLB::collectCommData(), RefinerComm::commAffinity(), BaseLB::LDStats::computeNonlocalComm(), TopoLB::computePartitions(), TopoCentLB::computePartitions(), RefinerComm::create(), HybridBaseLB::depositLBStatsMessage(), GridHybridSeedLB::Examine_InterObject_Messages(), GridHybridLB::Examine_InterObject_Messages(), GridCommRefineLB::Examine_InterObject_Messages(), GridCommLB::Examine_InterObject_Messages(), TopoLB::getHopBytes(), LBInfo::getInfo(), TopoLB::initDataStructures(), GridHybridSeedLB::Initialize_Communication_Matrix(), RefinerComm::objCommCost(), ObjGraph::ObjGraph(), GridMetisLB::Partition_ClusterObjects_Into_PEs(), GridMetisLB::Partition_Objects_Into_Clusters(), GridHybridLB::Partition_Objects_Into_Clusters(), RefinerComm::processorCommCost(), CentralLB::removeCommDataOfDeletedObjs(), CentralLB::removeNonMigratable(), BaseLB::LDStats::removeObject(), TopologyAgent::TopologyAgent(), TreeMatchLB::work(), TopoCentLB::work(), GreedyCommLB::work(), and CommLB::work().
int _LDCommData::recv_type | ( | ) | const [inline, inherited] |
Definition at line 255 of file lbdb.h.
Referenced by GridHybridSeedLB::Examine_InterObject_Messages(), GridHybridLB::Examine_InterObject_Messages(), GridCommRefineLB::Examine_InterObject_Messages(), GridCommLB::Examine_InterObject_Messages(), GridHybridSeedLB::Initialize_Communication_Matrix(), MulticastAgent::MulticastAgent(), ObjGraph::ObjGraph(), GridMetisLB::Partition_ClusterObjects_Into_PEs(), GridMetisLB::Partition_Objects_Into_Clusters(), GridHybridLB::Partition_Objects_Into_Clusters(), TreeMatchLB::work(), GreedyCommLB::work(), and CommLB::work().
void _LDCommData::pup | ( | PUP::er & | p | ) | [inline, inherited] |
void _LDCommData::clearHash | ( | ) | [inline, inherited] |
Definition at line 257 of file lbdb.h.
References _LDCommData::recvHash, and _LDCommData::sendHash.
Referenced by LBCommTable::GetCommData().
void LBBalance | ( | void * | param | ) |
void LBCollectStatsOn | ( | void | ) |
void LBCollectStatsOff | ( | void | ) |
void LDMessage | ( | LDObjHandle | from, | |
LDOMid | toOM, | |||
CmiUInt8 * | toID, | |||
int | bytes | |||
) |
void LDEstObjLoad | ( | LDObjHandle | h, | |
double | load | |||
) |
PUPmarshall | ( | LDObjStats | ) |
PUPmarshall | ( | LDOMHandle | ) |
PUPmarshall | ( | LBObjUserData | ) |
PUPmarshall | ( | LDCommDesc | ) |
static void handler | ( | char * | bit_map | ) | [static] |
Definition at line 24 of file manager.C.
References CcsDelayReply(), Converse::CkMyPe(), Converse::CkNumPes(), LBDatabase::get_avail_vector(), LBDatabaseObj(), load_balancer_created, malloc(), numProcessAfterRestart, pending_realloc_state, REALLOC_MSG_RECEIVED, se_avail_vector, and LBDatabase::set_avail_vector().
Referenced by CmiSignal(), and manager_init().
void manager_init | ( | ) |
Cluster Manager Code, Accpets external bit vectors and then feeds it into the loadbalancer so that programs can shrink and expand.
Definition at line 41 of file manager.C.
References CcsRegisterHandler(), handler(), NO_REALLOC, pending_realloc_state, and willContinue.
Referenced by CentralLB::CentralLB(), CreateLBFunc_Def(), GridCommLB::GridCommLB(), GridCommRefineLB::GridCommRefineLB(), GridHybridLB::GridHybridLB(), GridHybridSeedLB::GridHybridSeedLB(), and GridMetisLB::GridMetisLB().
Definition at line 17 of file MetisLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateMetisLB | ( | ) |
BaseLB* AllocateMetisLB | ( | ) |
void CreateNborBaseLB | ( | ) |
CreateLBFunc_Def | ( | NeighborCommLB | , | |
"The neighborhood load balancer with communication" | ||||
) |
Definition at line 16 of file NeighborCommLB.C.
References Converse::CkMyPe().
void CreateNeighborCommLB | ( | ) |
CreateLBFunc_Def | ( | NeighborLB | , | |
"The neighborhood load balancer" | ||||
) |
Definition at line 12 of file NeighborLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateNeighborLB | ( | ) |
void CreateNullLB | ( | void | ) |
static void migrationDone | ( | envelope * | env, | |
CkCoreState * | ck | |||
) | [static] |
Definition at line 29 of file NullLB.C.
References CkFreeSysMsg(), CkLocalBranch(), EnvToUsr(), lb, NullLB::migrationsDone(), and CkCoreState::watcher.
Referenced by lbprocinit().
static void lbinit | ( | void | ) | [static] |
Definition at line 43 of file NullLB.C.
References CreateNullLB(), and LBRegisterBalancer().
static void lbprocinit | ( | void | ) | [static] |
Definition at line 47 of file NullLB.C.
References _migDoneHandle, CmiAssignOnce(), and migrationDone().
static void staticStartLB | ( | void * | data | ) | [static] |
Definition at line 54 of file NullLB.C.
References Converse::CkMyPe(), and CmiPrintf().
Referenced by NullLB::init(), and NullLB::~NullLB().
CreateLBFunc_Def | ( | OrbLB | , | |
"partition objects based on coordinates" | ||||
) |
Definition at line 20 of file OrbLB.C.
References LBRegisterObjUserData().
void CreateOrbLB | ( | ) |
BaseLB* AllocateOrbLB | ( | void | ) |
CreateLBFunc_Def | ( | PhasebyArrayLB | , | |
"Load balancer which balances many arrays | together, | |||
specifically for CPAIMD" | ||||
) |
Definition at line 12 of file PhasebyArrayLB.C.
References Converse::CkMyPe(), CmiAbort(), getLBAllocFn(), CkLBOptions::getSeqNo(), lb, p, quietModeRequested, and strdup().
void CreatePhasebyArrayLB | ( | ) |
CreateLBFunc_Def | ( | RandCentLB | , | |
"Assign objects to processors randomly" | ||||
) |
Definition at line 16 of file RandCentLB.C.
References Converse::CkMyPe(), and quietModeRequested.
Definition at line 30 of file RandCentLB.C.
References CrnDrand().
Referenced by RandCentLB::work().
void CreateRandCentLB | ( | ) |
Definition at line 200 of file RecBipartLB.C.
References adjustqueues(), count, Vertex_helper::getLevel(), Vertex_helper::getMarked(), Vertex_helper::getPartition(), Vertex::getVertexId(), Vertex::getVertexLoad(), level, n, peno, ProcArray::procs, BQueue::push(), Vertex::recvFromList, RefineBoundary(), Vertex::sendToList, Vertex_helper::setMarked(), stats::swap(), PUP::u, ObjGraph::vertices, vhelpers, and PUP::w.
Referenced by RecBipartLB::work().
void adjustqueues | ( | ObjGraph * | ogr, | |
BQueue * | que1, | |||
BQueue * | que2, | |||
vector< Vertex * > & | partition1, | |||
vector< Vertex * > & | partition2, | |||
int * | initialedgecut, | |||
int | parent | |||
) |
Definition at line 361 of file RecBipartLB.C.
References adjustgain(), edgecut, BQueue::getMingain(), Edge::getNumBytes(), Vertex::getVertexId(), level, max(), BQueue::push(), BQueue::q, Vertex::recvFromList, Vertex::sendToList, BQueue::setMingain(), BQueue::setSwapid(), BQueue::setVertextoswap(), stats::swap(), PUP::u, ObjGraph::vertices, vhelpers, and PUP::w.
Referenced by RecursiveBiPart().
Definition at line 467 of file RecBipartLB.C.
References BQueue::getBoundary(), BQueue::getMingain(), Vertex::getVertexId(), max(), BQueue::q, BQueue::setMingain(), BQueue::setSwapid(), BQueue::setVertextoswap(), PUP::u, ObjGraph::vertices, and vhelpers.
Referenced by adjustqueues(), and modifypartitions().
void RefineBoundary | ( | ObjGraph * | ogr, | |
vector< Vertex * > & | partition1, | |||
vector< Vertex * > & | partition2, | |||
BQueue * | que1, | |||
BQueue * | que2, | |||
int | runs, | |||
int | initialedgecut, | |||
int | parent, | |||
double | part1load, | |||
double | part2load, | |||
double | ratio | |||
) |
Definition at line 498 of file RecBipartLB.C.
References BQueue::getVertextoswap(), modifypartitions(), BQueue::q, r, PUP::t, and ObjGraph::vertices.
Referenced by RecursiveBiPart().
int modifypartitions | ( | ObjGraph * | ogr, | |
vector< Vertex * > & | partition1, | |||
vector< Vertex * > & | partition2, | |||
BQueue * | q1, | |||
BQueue * | q2, | |||
int | ec, | |||
int | parent | |||
) |
Definition at line 536 of file RecBipartLB.C.
References adjustgain(), e1, BQueue::getBoundary(), BQueue::getVertextoswap(), removePtr(), swapQ1toQ2(), and vhelpers.
Referenced by RefineBoundary().
Definition at line 566 of file RecBipartLB.C.
References BQueue::push(), and removeinSwap().
Referenced by modifypartitions().
Definition at line 573 of file RecBipartLB.C.
References BQueue::getBoundary(), Edge::getNumBytes(), BQueue::getVertextoswap(), level, BQueue::push(), Vertex::recvFromList, BQueue::removeComplete(), Vertex::sendToList, stats::swap(), PUP::u, ObjGraph::vertices, vhelpers, and PUP::w.
Referenced by swapQ1toQ2().
Definition at line 695 of file RecBipartLB.C.
Referenced by modifypartitions().
CreateLBFunc_Def | ( | RecBipartLB | , | |
"Algorithm for load balacing based on recursive bipartitioning of object graph" | ||||
) |
Definition at line 111 of file RecBipartLB.C.
Status: does not support processor avail bitvector does not support nonmigratable attrib.
FIXME: need to remove outlier object load. Outlier object can cause failure of partitioning and often causes: "too few objects to paritition" error.
Definition at line 341 of file RecBisectBfLB.C.
References Graph::currentEdge, Graph::currentVertex, Graph::E, Graph::edges, int, malloc(), Graph::V, and Graph::vertices.
Referenced by RecBisectBfLB::convertGraph().
void g_freeGraph | ( | Graph * | g | ) |
Definition at line 355 of file RecBisectBfLB.C.
References Graph::edges, free(), and Graph::vertices.
Referenced by RecBisectBfLB::work().
Definition at line 364 of file RecBisectBfLB.C.
References Graph::currentEdge, Graph::currentVertex, VertexRecord::firstEdge, VertexRecord::index, VertexRecord::numEdges, Graph::V, Graph::vertices, and VertexRecord::weight.
Referenced by RecBisectBfLB::convertGraph().
void g_finishVertex | ( | Graph * | g | ) |
Definition at line 407 of file RecBisectBfLB.C.
References Graph::currentEdge, Graph::currentVertex, VertexRecord::firstEdge, VertexRecord::numEdges, and Graph::vertices.
Referenced by RecBisectBfLB::convertGraph().
Definition at line 381 of file RecBisectBfLB.C.
References Graph::currentEdge, Graph::currentVertex, Graph::edges, VertexRecord::firstEdge, VertexRecord::numEdges, and Graph::vertices.
Referenced by RecBisectBfLB::convertGraph().
Definition at line 477 of file RecBisectBfLB.C.
References Graph::vertices, and VertexRecord::weight.
Referenced by RecBisectBfLB::addToQ(), and RecBisectBfLB::partitionInTwo().
Definition at line 461 of file RecBisectBfLB.C.
References VertexRecord::numEdges, and Graph::vertices.
Referenced by RecBisectBfLB::enqChildren().
Definition at line 466 of file RecBisectBfLB.C.
References Graph::edges, VertexRecord::firstEdge, VertexRecord::numEdges, and Graph::vertices.
Referenced by RecBisectBfLB::enqChildren().
void g_printGraph | ( | Graph * | g | ) |
Definition at line 450 of file RecBisectBfLB.C.
References CmiPrintf(), Graph::E, Graph::edges, VertexRecord::firstEdge, VertexRecord::numEdges, Graph::V, and Graph::vertices.
CreateLBFunc_Def | ( | RecBisectBfLB | , | |
"Recursive partitioning with Breadth first enumeration" | ||||
) |
Definition at line 42 of file RecBisectBfLB.C.
References Converse::CkMyPe(), and quietModeRequested.
Definition at line 325 of file RecBisectBfLB.C.
Definition at line 334 of file RecBisectBfLB.C.
Referenced by generateRandomGraph().
Definition at line 416 of file RecBisectBfLB.C.
References Graph::E, Graph::edges, VertexRecord::firstEdge, VertexRecord::index, int, intSqrt(), malloc(), n, VertexRecord::numEdges, stride, Graph::V, Graph::vertices, and VertexRecord::weight.
void CreateRecBisectBfLB | ( | ) |
BaseLB* AllocateRecBisectBfLB | ( | ) |
CreateLBFunc_Def | ( | RefineCommLB | , | |
"Average load among processors by moving objects away from overloaded | processor, | |||
communication aware" | ||||
) |
Definition at line 12 of file RefineCommLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateRefineCommLB | ( | ) |
BaseLB* AllocateRefineCommLB | ( | ) |
CreateLBFunc_Def | ( | RefineKLB | , | |
"Move objects away from overloaded processor to reach average" | ||||
) |
Definition at line 16 of file RefineKLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateRefineKLB | ( | ) |
BaseLB* AllocateRefineKLB | ( | ) |
CreateLBFunc_Def | ( | RefineLB | , | |
"Move objects away from overloaded processor to reach average" | ||||
) |
Definition at line 12 of file RefineLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateRefineLB | ( | ) |
BaseLB* AllocateRefineLB | ( | ) |
CreateLBFunc_Def | ( | RefineSwapLB | , | |
"always assign the heaviest obj onto lightest loaded processor." | ||||
) |
Definition at line 25 of file RefineSwapLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void addObjToProc | ( | ProcArray * | parr, | |
ObjGraph * | ogr, | |||
std::vector< int > * | pe_obj, | |||
int | pe_index, | |||
int | obj_index | |||
) | [inline] |
Definition at line 68 of file RefineSwapLB.C.
References ProcArray::procs, and ObjGraph::vertices.
Referenced by IsSwapPossWithPe(), and refine().
void removeObjFromProc | ( | ProcArray * | parr, | |
ObjGraph * | ogr, | |||
std::vector< int > * | pe_obj, | |||
int | pe_index, | |||
int | arr_index | |||
) | [inline] |
Definition at line 81 of file RefineSwapLB.C.
References ProcArray::procs, and ObjGraph::vertices.
Referenced by IsSwapPossWithPe(), and refine().
Definition at line 93 of file RefineSwapLB.C.
Referenced by bbox3d::print(), and RefineSwapLB::work().
bool refine | ( | ProcArray * | parr, | |
ObjGraph * | ogr, | |||
std::vector< int > & | max_pe_heap, | |||
std::vector< int > & | min_pe_heap, | |||
std::vector< int > * | pe_obj, | |||
int | max_pe, | |||
double | avg_load, | |||
double | threshold | |||
) |
Definition at line 101 of file RefineSwapLB.C.
References addObjToProc(), allocated(), ProcArray::procs, removeObjFromProc(), size, sort(), and ObjGraph::vertices.
Referenced by CreateLBFunc_Def(), and RefineSwapLB::work().
bool IsSwapPossWithPe | ( | ProcArray * | parr, | |
ObjGraph * | ogr, | |||
std::vector< int > * | pe_obj, | |||
std::vector< int > & | max_pe_heap, | |||
std::vector< int > & | min_pe_heap, | |||
int | max_pe, | |||
int | pe_considered, | |||
int | pe_cons_iter, | |||
double | diff, | |||
double | avg_load, | |||
double | threshold | |||
) |
Definition at line 162 of file RefineSwapLB.C.
References addObjToProc(), ProcArray::procs, removeObjFromProc(), size, and ObjGraph::vertices.
Referenced by refineSwap().
bool refineSwap | ( | ProcArray * | parr, | |
ObjGraph * | ogr, | |||
std::vector< int > & | max_pe_heap, | |||
std::vector< int > & | min_pe_heap, | |||
std::vector< int > * | pe_obj, | |||
int | max_pe, | |||
double | avg_load, | |||
double | threshold | |||
) |
Definition at line 218 of file RefineSwapLB.C.
References IsSwapPossWithPe(), ProcArray::procs, and sort().
Referenced by RefineSwapLB::work().
void CreateRefineSwapLB | ( | ) |
BaseLB* AllocateRefineSwapLB | ( | ) |
Definition at line 20 of file ScotchLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateScotchLB | ( | ) |
CreateLBFunc_Def | ( | ScotchRefineLB | , | |
"Load balancing using the Scotch graph partitioning library" | ||||
) |
Definition at line 17 of file ScotchRefineLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateScotchRefineLB | ( | ) |
CreateLBFunc_Def | ( | ScotchTopoLB | , | |
"Load balancing using the Scotch graph partitioning library" | ||||
) |
Definition at line 21 of file ScotchTopoLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateScotchTopoLB | ( | ) |
CreateLBFunc_Def | ( | TeamLB | , | |
"Use Metis(tm) to partition object graph at two levels: team level and processor level" | ||||
) |
Definition at line 17 of file TeamLB.C.
References _lb_args, Converse::CkMyPe(), Converse::CkNumPes(), quietModeRequested, CkLBArgs::teamSize(), and teamSize.
void CreateTeamLB | ( | ) |
BaseLB* AllocateTeamLB | ( | ) |
CreateLBFunc_Def | ( | TempAwareGreedyLB | , | |
"always assign the heaviest obj onto lightest loaded processor." | ||||
) |
Definition at line 22 of file TempAwareGreedyLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateTempAwareGreedyLB | ( | ) |
BaseLB* AllocateTempAwareGreedyLB | ( | ) |
CreateLBFunc_Def | ( | TempAwareRefineLB | , | |
"always assign the heaviest obj onto lightest loaded processor." | ||||
) |
Definition at line 23 of file TempAwareRefineLB.C.
References Converse::CkMyPe(), and fd.
void printCurrentTemperature | ( | void * | LB, | |
double | curWallTime | |||
) |
Definition at line 94 of file TempAwareRefineLB.C.
References Converse::CkMyPe(), cpufreq_sysfs_read(), and TempAwareRefineLB::getTemp().
Definition at line 103 of file TempAwareRefineLB.C.
Definition at line 257 of file TempAwareRefineLB.C.
References CkExit(), and ObjGraph::vertices.
void CreateTempAwareRefineLB | ( | ) |
BaseLB* AllocateTempAwareRefineLB | ( | ) |
CreateLBFunc_Def | ( | TreeMatchLB | , | |
"TreeMatch load | balancer, | |||
like a normal one but with empty strategy" | ||||
) |
Definition at line 15 of file TreeMatchLB.C.
References Converse::CkMyPe(), and quietModeRequested.
double* get_comm_speed | ( | int * | depth | ) |
Definition at line 32 of file TreeMatchLB.C.
References malloc().
tm_topology_t* build_abe_topology | ( | int | nb_procs | ) |
Definition at line 47 of file TreeMatchLB.C.
References build_synthetic_topology().
Referenced by TreeMatchLB::work().
void CreateTreeMatchLB | ( | ) |
CreateLBFunc_Def | ( | WSLB | , | |
"Workstation load balancer" | ||||
) |
Definition at line 25 of file WSLB.C.
References WSLB::Migrated().
void CreateWSLB | ( | ) |
Definition at line 271 of file ZoltanLB.C.
References HGRAPH_DATA::numMyVertices.
Referenced by ZoltanLB::work().
static void get_vertex_list | ( | void * | data, | |
int | sizeGID, | |||
int | sizeLID, | |||
ZOLTAN_ID_PTR | globalID, | |||
ZOLTAN_ID_PTR | localID, | |||
int | wgt_dim, | |||
float * | obj_wgts, | |||
int * | ierr | |||
) | [static] |
Definition at line 278 of file ZoltanLB.C.
References HGRAPH_DATA::numMyVertices, HGRAPH_DATA::vtxGID, and HGRAPH_DATA::vtxWgt.
Referenced by ZoltanLB::work().
static void get_hypergraph_size | ( | void * | data, | |
int * | num_lists, | |||
int * | num_nonzeroes, | |||
int * | format, | |||
int * | ierr | |||
) | [static] |
Definition at line 298 of file ZoltanLB.C.
References HGRAPH_DATA::numAllNbors, and HGRAPH_DATA::numMyHEdges.
Referenced by ZoltanLB::work().
static void get_hypergraph | ( | void * | data, | |
int | sizeGID, | |||
int | num_edges, | |||
int | num_nonzeroes, | |||
int | format, | |||
ZOLTAN_ID_PTR | edgeGID, | |||
int * | vtxPtr, | |||
ZOLTAN_ID_PTR | vtxGID, | |||
int * | ierr | |||
) | [static] |
Definition at line 316 of file ZoltanLB.C.
References HGRAPH_DATA::edgeGID, HGRAPH_DATA::nborGID, HGRAPH_DATA::nborIndex, HGRAPH_DATA::numAllNbors, and HGRAPH_DATA::numMyHEdges.
Referenced by ZoltanLB::work().
Definition at line 343 of file ZoltanLB.C.
References HGRAPH_DATA::numMyHEdges.
Referenced by ZoltanLB::work().
static void get_hypergraph_edge_wgts | ( | void * | data, | |
int | numGID, | |||
int | numLID, | |||
int | num_edges, | |||
int | edge_weight_dim, | |||
ZOLTAN_ID_PTR | edgeGID, | |||
ZOLTAN_ID_PTR | edgeLID, | |||
float * | edge_wgts, | |||
int * | ierr | |||
) | [static] |
Definition at line 349 of file ZoltanLB.C.
References HGRAPH_DATA::edgeGID, and HGRAPH_DATA::edgWgt.
Referenced by ZoltanLB::work().
Definition at line 59 of file ZoltanLB.C.
References Converse::CkMyPe(), and quietModeRequested.
void CreateZoltanLB | ( | ) |
BaseLB* AllocateZoltanLB | ( | ) |
virtual int LBTopo_smp_n< ppn >::max_neighbors | ( | ) | [inline, virtual, inherited] |
virtual void LBTopo_smp_n< ppn >::neighbors | ( | int | mype, | |
int * | _n, | |||
int & | nb | |||
) | [inline, virtual, inherited] |
int LBTopo_smp_n< ppn >::get_hop_count | ( | int | src, | |
int | dest | |||
) | [inline, virtual, inherited] |
LBTOPO_MACRO | ( | LBTopo_smp_n_1 | ) |
LBTOPO_MACRO | ( | LBTopo_torus2d | ) |
Definition at line 216 of file topology.C.
References int, LBTopology::npes, and width().
Definition at line 238 of file topology.C.
Referenced by LBTopo_mesh3d::neighbors(), LBTopo_torus3d::neighbors(), and LBTopo_torus2d::neighbors().
LBTOPO_MACRO | ( | LBTopo_torus3d | ) |
LBTOPO_MACRO | ( | LBTopo_mesh3d | ) |
int LBTopo_torus_nd< dimension >::GetNeighborID | ( | int | ProcessorID, | |
int | number | |||
) | [inline, private, inherited] |
Definition at line 585 of file topology.C.
References LBTopology::get_processor_coordinates(), LBTopology::get_processor_id(), index, LBTopo_mesh3d::max_neighbors(), and LBTopology::npes.
LBTopo_torus_nd< dimension >::LBTopo_torus_nd | ( | int | p | ) | [inline, inherited] |
LBTopo_torus_nd< dimension >::~LBTopo_torus_nd | ( | ) | [inline, inherited] |
Definition at line 616 of file topology.C.
virtual int LBTopo_torus_nd< dimension >::max_neighbors | ( | ) | [inline, virtual, inherited] |
virtual void LBTopo_torus_nd< dimension >::neighbors | ( | int | mype, | |
int * | _n, | |||
int & | nb | |||
) | [inline, virtual, inherited] |
virtual int LBTopo_torus_nd< dimension >::get_dimension | ( | ) | [inline, virtual, inherited] |
virtual bool LBTopo_torus_nd< dimension >::get_processor_coordinates | ( | int | processor_id, | |
int * | processor_coordinates | |||
) | [inline, virtual, inherited] |
virtual bool LBTopo_torus_nd< dimension >::get_processor_id | ( | const int * | processor_coordinates, | |
int * | processor_id | |||
) | [inline, virtual, inherited] |
virtual bool LBTopo_torus_nd< dimension >::coordinate_difference | ( | const int * | my_coordinates, | |
const int * | target_coordinates, | |||
int * | difference | |||
) | [inline, virtual, inherited] |
Reimplemented from LBTopology.
Definition at line 655 of file topology.C.
References abs().
virtual bool LBTopo_torus_nd< dimension >::coordinate_difference | ( | int | my_processor_id, | |
int | target_processor_id, | |||
int * | difference | |||
) | [inline, virtual, inherited] |
Reimplemented from LBTopology.
Definition at line 674 of file topology.C.
References LBTopology::coordinate_difference(), and LBTopology::get_processor_coordinates().
LBTOPO_MACRO | ( | LBTopo_torus_nd_1 | ) |
Definition at line 696 of file topology.C.
References abs(), CmiGetFirstPeOnPhysicalNode(), CmiGetPesOnPhysicalNode(), CmiNumPesOnPhysicalNode(), CmiNumPhysicalNodes(), CmiPhysicalNodeID(), CmiPhysicalRank(), CmiPrintf(), LBTopology::coordinate_difference(), LBTopology::get_dimension(), LBTopology::get_processor_coordinates(), index, int, LBTopology::LBTopology(), LBTopo_mesh3d::max_neighbors(), LBTopo_mesh3d::neighbors(), LBTopology::npes, p, and rank.
LBTOPO_MACRO | ( | LBTopo_torus_nd_smp_1 | ) |
Definition at line 870 of file topology.C.
References _lbtopo, CmiPrintf(), free(), LBTopology::get_processor_coordinates(), LBTopology::get_processor_id(), index, LBTopology::LBTopology(), LBTopo_mesh3d::max_neighbors(), LBTopo_mesh3d::neighbors(), LBTopology::npes, p, and strdup().
LBTOPO_MACRO | ( | LBTopo_itorus_nd_1 | ) |
Definition at line 984 of file topology.C.
References _lbtopo, CmiPrintf(), free(), LBTopology::get_processor_coordinates(), LBTopology::get_processor_id(), index, LBTopology::LBTopology(), LBTopo_mesh3d::max_neighbors(), LBTopo_mesh3d::neighbors(), LBTopology::npes, p, and strdup().
LBTOPO_MACRO | ( | LBTopo_imesh_nd_1 | ) |
Definition at line 1109 of file topology.C.
int LBTopo_graph_nc< dimension >::max_neighbors | ( | ) | [inline, virtual, inherited] |
void LBTopo_graph_nc< dimension >::neighbors | ( | int | mype, | |
int * | na, | |||
int & | nb | |||
) | [inline, virtual, inherited] |
Implements LBTopology.
Definition at line 1145 of file topology.C.
References gengraph().
LBTOPO_MACRO | ( | LBTopo_graph_nc_2 | ) |
Definition at line 1166 of file topology.C.
References LBTopology::LBTopology(), LBTopo_graph::max_neighbors(), LBTopo_graph::neighbors(), LBTopology::npes, and p.
LBTOPO_MACRO | ( | LBTopo_complete | ) |
Definition at line 1196 of file topology.C.
References LBTopology::LBTopology(), LBTopo_graph::max_neighbors(), LBTopo_graph::neighbors(), LBTopology::npes, and p.
LBTOPO_MACRO | ( | LBTopo_2_arytree | ) |
LBTopoVec::LBTopoVec | ( | ) | [inline, inherited] |
Definition at line 1242 of file topology.C.
LBTopoVec::~LBTopoVec | ( | ) | [inline, inherited] |
Definition at line 1311 of file topology.C.
void LBTopoVec::push_back | ( | LBTopoMap * | map | ) | [inline, inherited] |
Definition at line 1315 of file topology.C.
int LBTopoVec::length | ( | ) | [inline, inherited] |
Definition at line 1316 of file topology.C.
Referenced by LBTopoLookup().
LBTopoMap* LBTopoVec::operator[] | ( | size_t | n | ) | [inline, inherited] |
Definition at line 1317 of file topology.C.
void LBTopoVec::print | ( | ) | [inline, inherited] |
Definition at line 1318 of file topology.C.
References CmiPrintf().
Referenced by printoutTopo().
void LBTopoInit | ( | ) |
Definition at line 1329 of file topology.C.
References CmiCreateLock(), lbTopoInitialized, and lbTopoMapInitLock.
Referenced by _initCharm().
LBtopoFn LBTopoLookup | ( | const char * | name | ) |
Definition at line 1336 of file topology.C.
References CmiLock(), CmiUnlock(), lbTopoMapInitLock, and LBTopoVec::length().
Referenced by CldComputeNeighborData(), NborBaseLB::NborBaseLB(), NeighborCommLB::Strategy(), TopologyAgent::TopologyAgent(), TopoLB::work(), TopoCentLB::work(), RefineTopoLB::work(), and WSLB::WSLB().
Definition at line 1352 of file topology.C.
Referenced by CldComputeNeighborData().
int getTopoMaxNeighbors | ( | void * | topo | ) |
Definition at line 1357 of file topology.C.
Referenced by CldComputeNeighborData().
void printoutTopo | ( | ) |
Definition at line 1362 of file topology.C.
References LBTopoVec::print().
Referenced by CldComputeNeighborData(), NeighborCommLB::Strategy(), TopologyAgent::TopologyAgent(), TopoLB::work(), TopoCentLB::work(), and RefineTopoLB::work().
LBTopology::LBTopology | ( | int | p | ) | [inline, inherited] |
Definition at line 19 of file topology.h.
Referenced by LBTOPO_MACRO().
virtual LBTopology::~LBTopology | ( | ) | [inline, virtual, inherited] |
Definition at line 20 of file topology.h.
virtual int LBTopology::max_neighbors | ( | ) | [pure virtual, inherited] |
Implemented in LBTopo_smp_n< ppn >, LBTopo_torus_nd< dimension >, LBTopo_graph_nc< dimension >, LBTopo_ring, LBTopo_torus2d, LBTopo_torus3d, LBTopo_mesh3d, and LBTopo_graph.
Referenced by TopoCentLB::calculateMST(), WSLB::FindNeighbors(), NborBaseLB::FindNeighbors(), LBTopology::get_hop_count(), LBTopology::get_pairwise_hop_count(), TopologyAgent::my_preferred_procs(), and GreedyAgentLB::work().
Implemented in LBTopo_smp_n< ppn >, LBTopo_torus_nd< dimension >, LBTopo_graph_nc< dimension >, LBTopo_ring, LBTopo_torus2d, LBTopo_torus3d, LBTopo_mesh3d, and LBTopo_graph.
Referenced by WSLB::FindNeighbors(), NborBaseLB::FindNeighbors(), LBTopology::get_pairwise_hop_count(), TopologyAgent::my_preferred_procs(), and LBTopology::rec_hop_count().
virtual int LBTopology::get_dimension | ( | ) | [inline, virtual, inherited] |
Reimplemented in LBTopo_torus_nd< dimension >.
Definition at line 24 of file topology.h.
Referenced by LBTOPO_MACRO(), and NeighborCommLB::Strategy().
virtual bool LBTopology::get_processor_coordinates | ( | int | processor_id, | |
int * | processor_coordinates | |||
) | [inline, virtual, inherited] |
Reimplemented in LBTopo_torus_nd< dimension >.
Definition at line 25 of file topology.h.
Referenced by LBTopo_torus_nd< dimension >::coordinate_difference(), LBTopo_torus_nd< dimension >::GetNeighborID(), LBTOPO_MACRO(), and NeighborCommLB::Strategy().
virtual bool LBTopology::get_processor_id | ( | const int * | processor_coordinates, | |
int * | processor_id | |||
) | [inline, virtual, inherited] |
Reimplemented in LBTopo_torus_nd< dimension >.
Definition at line 26 of file topology.h.
Referenced by LBTopo_torus_nd< dimension >::GetNeighborID(), and LBTOPO_MACRO().
virtual bool LBTopology::coordinate_difference | ( | const int * | my_coordinates, | |
const int * | target_coordinates, | |||
int * | difference | |||
) | [inline, virtual, inherited] |
Reimplemented in LBTopo_torus_nd< dimension >.
Definition at line 27 of file topology.h.
Referenced by LBTopo_torus_nd< dimension >::coordinate_difference(), LBTOPO_MACRO(), and NeighborCommLB::Strategy().
Reimplemented in LBTopo_smp_n< ppn >, LBTopo_ring, and LBTopo_torus2d.
Definition at line 15 of file topology.C.
References count, LBTopology::max_neighbors(), LBTopology::npes, and LBTopology::rec_hop_count().
Referenced by TopologyAgent::my_preferred_procs().
int LBTopology::rec_hop_count | ( | int | src, | |
int | dest, | |||
int | max_neigh, | |||
int | count, | |||
int * | visited_srcs, | |||
int | min_hop_cnt | |||
) | [virtual, inherited] |
Definition at line 32 of file topology.C.
References LBTopology::neighbors().
Referenced by LBTopology::get_hop_count().
double LBTopology::per_hop_delay | ( | int | last_hop | ) | [virtual, inherited] |
Definition at line 73 of file topology.C.
void LBTopology::get_pairwise_hop_count | ( | double ** | dist | ) | [virtual, inherited] |
Definition at line 81 of file topology.C.
References PUP::d, index, LBTopology::max_neighbors(), LBTopology::neighbors(), and LBTopology::npes.
Referenced by TopoCentLB::calculateMST(), and TopoLB::initDataStructures().
virtual int LBTopo_ring::max_neighbors | ( | ) | [virtual, inherited] |
Implements LBTopology.
Reimplemented from LBTopology.
Definition at line 203 of file topology.C.
References LBTopology::npes.
Definition at line 229 of file topology.C.
References LBTopo_torus2d::width.
Referenced by LBTopo_torus2d::neighbors().
LBTopo_torus2d::LBTopo_torus2d | ( | int | p | ) | [inherited] |
int LBTopo_torus2d::max_neighbors | ( | ) | [virtual, inherited] |
Implements LBTopology.
Definition at line 243 of file topology.C.
References checkuniq(), LBTopo_torus2d::goodcoor(), LBTopo_torus2d::width, and x.
Reimplemented from LBTopology.
Definition at line 272 of file topology.C.
References LBTopology::npes, and LBTopo_torus2d::width.
Definition at line 408 of file topology.C.
References LBTopo_torus3d::width.
Referenced by LBTopo_torus3d::neighbors().
LBTopo_torus3d::LBTopo_torus3d | ( | int | p | ) | [inherited] |
int LBTopo_torus3d::max_neighbors | ( | ) | [virtual, inherited] |
Implements LBTopology.
Definition at line 418 of file topology.C.
References checkuniq(), LBTopo_torus3d::goodcoor(), LBTopo_torus3d::width, and x.
Definition at line 512 of file topology.C.
References LBTopo_mesh3d::width.
Referenced by LBTopo_mesh3d::neighbors().
LBTopo_mesh3d::LBTopo_mesh3d | ( | int | p | ) | [inherited] |
int LBTopo_mesh3d::max_neighbors | ( | ) | [virtual, inherited] |
Implements LBTopology.
Definition at line 507 of file topology.C.
Referenced by LBTopo_torus_nd< dimension >::GetNeighborID(), and LBTOPO_MACRO().
Implements LBTopology.
Definition at line 522 of file topology.C.
References checkuniq(), LBTopo_mesh3d::goodcoor(), LBTopo_mesh3d::width, and x.
Referenced by LBTOPO_MACRO().
virtual int LBTopo_graph::max_neighbors | ( | ) | [virtual, inherited] |
Implements LBTopology.
Definition at line 1129 of file topology.C.
References gengraph().
Referenced by LBTOPO_MACRO().
void AdaptiveLB::work | ( | LDStats * | stats | ) | [protected, virtual, inherited] |
the object load is normalized to an integer between 0 and 256
Definition at line 71 of file AdaptiveLB.C.
References alpha, beta, AdaptiveLB::commRefineLB, MetaBalancer::GetLBDataForLB(), MetaBalancer::GetPrevLBData(), AdaptiveLB::greedyLB, AdaptiveLB::metabalancer, AdaptiveLB::metisLB, AdaptiveLB::refineLB, ObjGraph::vertices, and CentralLB::work().
void BaseLB::initLB | ( | const CkLBOptions & | opt | ) | [private, inherited] |
Definition at line 12 of file BaseLB.C.
References _lbdb, LBDatabase::addLoadbalancer(), CkLBOptions::getSeqNo(), BaseLB::lbname, BaseLB::seqno, and BaseLB::theLbdb.
Referenced by BaseLB::BaseLB(), and BaseLB::pup().
void BaseLB::unregister | ( | ) | [inherited] |
Definition at line 29 of file BaseLB.C.
References LBDatabase::RemoveLocalBarrierReceiver(), and BaseLB::theLbdb.
void BaseLB::pup | ( | PUP::er & | p | ) | [virtual, inherited] |
Definition at line 34 of file BaseLB.C.
References Converse::CkMyPe(), LBDatabase::getLoadbalancerTicket(), BaseLB::initLB(), PUP::er::isUnpacking(), LBDatabaseObj(), and BaseLB::seqno.
void BaseLB::flushStates | ( | ) | [virtual, inherited] |
Definition at line 48 of file BaseLB.C.
References LBDatabase::ClearLoads(), Group::flushStates(), and BaseLB::theLbdb.
Definition at line 69 of file BaseLB.C.
References Converse::CkNumPes(), BaseLB::LDStats::count, and BaseLB::LDStats::procs.
void BaseLB::LDStats::makeCommHash | ( | ) | [inherited] |
build hash table
Definition at line 149 of file BaseLB.C.
References BaseLB::LDStats::hashSize, BaseLB::LDStats::n_objs, BaseLB::LDStats::objData, BaseLB::LDStats::objHash, ObjKey(), and primeLargerThan().
Referenced by BaseLB::LDStats::computeNonlocalComm(), LBInfo::getInfo(), getPredictedLoadWithMsg(), MulticastAgent::MulticastAgent(), ObjGraph::ObjGraph(), RefinerComm::Refine(), and TreeMatchLB::work().
void BaseLB::LDStats::deleteCommHash | ( | ) | [inherited] |
Definition at line 170 of file BaseLB.C.
References BaseLB::LDStats::commData, BaseLB::LDStats::n_comm, and BaseLB::LDStats::objHash.
Referenced by BaseLB::LDStats::clear().
Definition at line 178 of file BaseLB.C.
References BaseLB::LDStats::hashSize, index, LDOMidEqual(), BaseLB::LDStats::objData, BaseLB::LDStats::objHash, and ObjKey().
given an LDObjKey, returns the index in the objData vector this index changes every time one does load balancing even within a run
Definition at line 196 of file BaseLB.C.
References _LDObjKey::objID(), and _LDObjKey::omID().
Referenced by BaseLB::LDStats::computeNonlocalComm(), LBInfo::getInfo(), getPredictedLoadWithMsg(), BaseLB::LDStats::getRecvHash(), BaseLB::LDStats::getSendHash(), MulticastAgent::MulticastAgent(), ObjGraph::ObjGraph(), and TreeMatchLB::work().
int BaseLB::LDStats::getSendHash | ( | LDCommData & | cData | ) | [inherited] |
Definition at line 203 of file BaseLB.C.
References BaseLB::LDStats::getHash(), _LDCommData::sender, and _LDCommData::sendHash.
int BaseLB::LDStats::getRecvHash | ( | LDCommData & | cData | ) | [inherited] |
Definition at line 211 of file BaseLB.C.
References _LDCommDesc::get_destObj(), BaseLB::LDStats::getHash(), _LDCommData::receiver, and _LDCommData::recvHash.
void BaseLB::LDStats::clearCommHash | ( | ) | [inherited] |
Definition at line 219 of file BaseLB.C.
References BaseLB::LDStats::commData, and BaseLB::LDStats::n_comm.
Definition at line 225 of file BaseLB.C.
References BaseLB::LDStats::commData, BaseLB::LDStats::complete_flag, _LDCommData::from_proc(), BaseLB::LDStats::getHash(), idx, BaseLB::LDStats::makeCommHash(), BaseLB::LDStats::n_comm, BaseLB::LDStats::nprocs(), p, CkVec< T >::push_back(), _LDCommData::sender, CkVec< T >::size(), _LDCommData::src_proc, and BaseLB::LDStats::to_proc.
void BaseLB::LDStats::normalize_speed | ( | ) | [inherited] |
Definition at line 296 of file BaseLB.C.
References BaseLB::LDStats::nprocs(), BaseLB::ProcStats::pe_speed, and BaseLB::LDStats::procs.
void BaseLB::LDStats::print | ( | ) | [inherited] |
Definition at line 307 of file BaseLB.C.
References BaseLB::ProcStats::bg_cputime, BaseLB::ProcStats::bg_walltime, BaseLB::LDStats::commData, LDObjData::cpuTime, BaseLB::LDStats::from_proc, _LDOMid::id, BaseLB::ProcStats::idletime, LDObjData::migratable, BaseLB::LDStats::n_comm, BaseLB::LDStats::n_objs, BaseLB::ProcStats::n_objs, BaseLB::LDStats::nprocs(), BaseLB::LDStats::objData, LDObjData::objID(), LDObjData::omID(), BaseLB::ProcStats::pe, BaseLB::ProcStats::pe_speed, BaseLB::LDStats::procs, BaseLB::ProcStats::total_cputime, BaseLB::ProcStats::total_walltime, and LDObjData::wallTime.
double BaseLB::LDStats::computeAverageLoad | ( | ) | [inherited] |
Definition at line 365 of file BaseLB.C.
References BaseLB::ProcStats::bg_walltime, BaseLB::LDStats::n_objs, BaseLB::LDStats::nprocs(), BaseLB::LDStats::objData, and BaseLB::LDStats::procs.
void BaseLB::LDStats::removeObject | ( | int | obj | ) | [inherited] |
Definition at line 382 of file BaseLB.C.
References BaseLB::LDStats::commData, _LDCommData::from_proc(), BaseLB::LDStats::from_proc, BaseLB::LDStats::n_comm, BaseLB::LDStats::n_migrateobjs, BaseLB::LDStats::n_objs, BaseLB::LDStats::objData, _LDObjKey::objID(), _LDObjKey::omID(), CkVec< T >::remove(), _LDCommData::sender, CkVec< T >::size(), and BaseLB::LDStats::to_proc.
void BaseLB::LDStats::pup | ( | PUP::er & | p | ) | [inherited] |
Definition at line 409 of file BaseLB.C.
References _lb_args, BaseLB::LDStats::commData, BaseLB::LDStats::count, BaseLB::LDStats::from_proc, PUP::er::isUnpacking(), CkLBArgs::lbversion(), BaseLB::LDStats::n_comm, BaseLB::LDStats::n_migrateobjs, BaseLB::LDStats::n_objs, BaseLB::LDStats::nprocs(), BaseLB::LDStats::objData, BaseLB::LDStats::objHash, p, BaseLB::LDStats::procs, LBSimulation::procsChanged, CkVec< T >::resize(), LBSimulation::simProcs, and BaseLB::LDStats::to_proc.
int BaseLB::LDStats::useMem | ( | ) | [inherited] |
Definition at line 450 of file BaseLB.C.
References BaseLB::LDStats::n_comm, BaseLB::LDStats::n_objs, and BaseLB::LDStats::nprocs().
void CentralLB::staticMigrated | ( | void * | me, | |
LDObjHandle | h, | |||
int | waitBarrier = 1 | |||
) | [static, inherited] |
Definition at line 76 of file CentralLB.C.
References CentralLB::Migrated().
Referenced by CentralLB::initLB().
void CentralLB::staticAtSync | ( | void * | data | ) | [static, inherited] |
Definition at line 82 of file CentralLB.C.
References CentralLB::AtSync().
Referenced by CentralLB::initLB().
void CentralLB::initLB | ( | const CkLBOptions & | opt | ) | [private, inherited] |
Definition at line 88 of file CentralLB.C.
References _lb_args, _lb_predict, _lb_predict_window, CkLBArgs::central_pe(), CentralLB::count_msgs, CentralLB::cur_ld_balancer, CentralLB::future_migrates_completed, CentralLB::future_migrates_expected, CkLBOptions::getSeqNo(), CentralLB::lbdone, load_balancer_created, CentralLB::logicalCoresPerChip, CentralLB::logicalCoresPerNode, CkLBArgs::metaLbModelDir(), CkLBArgs::metaLbOn(), CentralLB::migrates_completed, CentralLB::migrates_expected, CentralLB::myspeed, CentralLB::numSockets, CentralLB::physicalCoresPerNode, CentralLB::predicted_model, CentralLB::reduction_started, CentralLB::staticAtSync(), CentralLB::staticChangePredictor(), CentralLB::staticMigrated(), CentralLB::staticPredictorOff(), CentralLB::staticPredictorOn(), CentralLB::staticPredictorOnWin(), CentralLB::staticStartLB(), CentralLB::stats_msg_count, CentralLB::statsData, CentralLB::statsMsg, CentralLB::statsMsgsList, CkLBArgs::statsOn(), CentralLB::storedMigrateMsg, CentralLB::turnOff(), and CentralLB::use_thread.
Referenced by CentralLB::CentralLB(), and CentralLB::pup().
CentralLB::~CentralLB | ( | ) | [virtual, inherited] |
Definition at line 144 of file CentralLB.C.
References _lbdb, CentralLB::staticStartLB(), CentralLB::statsData, and CentralLB::statsMsgsList.
void CentralLB::turnOn | ( | ) | [inherited] |
Definition at line 159 of file CentralLB.C.
void CentralLB::turnOff | ( | ) | [inherited] |
Definition at line 171 of file CentralLB.C.
Referenced by CentralLB::initLB().
void CentralLB::SetPESpeed | ( | int | speed | ) | [inherited] |
int CentralLB::GetPESpeed | ( | ) | [inherited] |
void CentralLB::AtSync | ( | void | ) | [inherited] |
Definition at line 193 of file CentralLB.C.
References Converse::CkMyPe(), Converse::CkNumPes(), CkSetInLdb(), CentralLB::MigrationDone(), and CentralLB::QueryBalanceNow().
Referenced by CentralLB::staticAtSync().
void CentralLB::ProcessAtSync | ( | void | ) | [inherited] |
Definition at line 218 of file CentralLB.C.
References CentralLB::BuildStatsMsg(), cb, Converse::CkMyPe(), CentralLB::concurrent, CentralLB::cur_ld_balancer, initMlogLBStep(), CentralLB::ReceiveCounts(), CentralLB::reduction_started, CentralLB::SendStats(), CentralLB::start_lb_time, and CkReduction::sum_int.
Definition at line 307 of file CentralLB.C.
Referenced by CentralLB::BuildStatsMsg().
Definition at line 328 of file CentralLB.C.
References cb, Converse::CkMyPe(), CentralLB::concurrent, CentralLB::SendStats(), and CentralLB::statsData.
Referenced by CentralLB::ProcessAtSync().
void CentralLB::BuildStatsMsg | ( | ) | [private, inherited] |
Definition at line 353 of file CentralLB.C.
References CLBStatsMsg::avail_vector, CLBStatsMsg::bg_cputime, CLBStatsMsg::bg_walltime, Converse::CkMyPe(), Converse::CkNumPes(), CLBStatsMsg::commData, cpufreq_sysfs_read(), CentralLB::cur_ld_balancer, CLBStatsMsg::from_pe, LBDatabase::get_avail_vector(), CentralLB::getTemp(), CLBStatsMsg::idletime, LBDatabaseObj(), CentralLB::logicalCoresPerNode, msg, CentralLB::myspeed, CLBStatsMsg::n_comm, CLBStatsMsg::n_objs, LBDatabase::new_lbbalancer(), CLBStatsMsg::next_lb, npes, CLBStatsMsg::objData, CLBStatsMsg::pe_speed, CLBStatsMsg::pe_temp, CentralLB::physicalCoresPerNode, CentralLB::statsMsg, CLBStatsMsg::step, CLBStatsMsg::total_cputime, and CLBStatsMsg::total_walltime.
Referenced by CentralLB::ProcessAtSync().
void CentralLB::SendStats | ( | ) | [inherited] |
Definition at line 412 of file CentralLB.C.
References Converse::CkMyPe(), Converse::CkNumPes(), CmiMyPe(), CentralLB::cur_ld_balancer, h, _LDOMid::id, LDOMHandle::id, _ckGroupID::idx, CentralLB::reduction_started, and CentralLB::statsMsg.
Referenced by CentralLB::ProcessAtSync(), and CentralLB::ReceiveCounts().
void CentralLB::Migrated | ( | int | waitBarrier = 1 |
) | [inherited] |
Definition at line 452 of file CentralLB.C.
References CentralLB::CheckMigrationComplete(), Converse::CkMyPe(), donotCountMigration, CentralLB::future_migrates_completed, CentralLB::future_migrates_expected, CentralLB::migrates_completed, CentralLB::migrates_expected, and CentralLB::MigrationDone().
Referenced by _dummyMigrationHandler(), CentralLB::MissMigrate(), and CentralLB::staticMigrated().
void CentralLB::MissMigrate | ( | int | waitForBarrier | ) | [inherited] |
Definition at line 478 of file CentralLB.C.
References CentralLB::Migrated().
void CentralLB::buildStats | ( | ) | [private, inherited] |
Definition at line 485 of file CentralLB.C.
References Converse::CkNumPes(), CLBStatsMsg::commData, LDObjData::migratable, msg, CLBStatsMsg::n_comm, CLBStatsMsg::n_objs, CLBStatsMsg::objData, CentralLB::stats_msg_count, CentralLB::statsData, and CentralLB::statsMsgsList.
Referenced by CentralLB::LoadBalance().
void CentralLB::depositData | ( | CLBStatsMsg * | m | ) | [inherited] |
Definition at line 522 of file CentralLB.C.
References CLBStatsMsg::bg_cputime, CLBStatsMsg::bg_walltime, CLBStatsMsg::commData, CLBStatsMsg::from_pe, CLBStatsMsg::idletime, LDObjData::migratable, CLBStatsMsg::n_comm, CLBStatsMsg::n_objs, CLBStatsMsg::objData, CLBStatsMsg::pe_speed, CLBStatsMsg::pe_temp, CentralLB::statsData, CLBStatsMsg::total_cputime, and CLBStatsMsg::total_walltime.
Referenced by CentralLB::ReceiveStats().
void CentralLB::ReceiveStatsFromRoot | ( | CkMarshalledCLBStatsMessage && | msg | ) | [inherited] |
Definition at line 566 of file CentralLB.C.
References Converse::CkMyPe(), CentralLB::cur_ld_balancer, msg, and CentralLB::ReceiveStats().
void CentralLB::ReceiveStats | ( | CkMarshalledCLBStatsMessage && | msg | ) | [inherited] |
Definition at line 573 of file CentralLB.C.
References CLBStatsMsg::avail_vector, CLBStatsMsg::bg_cputime, CLBStatsMsg::bg_walltime, Converse::CkMyPe(), Converse::CkNumPes(), CkNumValidPes(), CmiMyPe(), CentralLB::concurrent, count, CentralLB::cur_ld_balancer, CentralLB::depositData(), CLBStatsMsg::from_pe, CLBStatsMsg::idletime, LBDatabaseObj(), PUP::m, msg, CLBStatsMsg::n_comm, CLBStatsMsg::n_objs, CLBStatsMsg::next_lb, CLBStatsMsg::pe_speed, CLBStatsMsg::pe_temp, LBDatabase::set_avail_vector(), CentralLB::stats_msg_count, CentralLB::statsData, CentralLB::statsMsgsList, CLBStatsMsg::total_cputime, CLBStatsMsg::total_walltime, and CentralLB::use_thread.
Referenced by CentralLB::ReceiveStatsFromRoot().
void CentralLB::ReceiveStatsViaTree | ( | CkMarshalledCLBStatsMessage && | msg | ) | [inherited] |
added by Abhinav for receiving msgs via spanning tree
Definition at line 671 of file CentralLB.C.
References CkMarshalledCLBStatsMessage::add(), CentralLB::bufMsg, Converse::CkMyPe(), CentralLB::count_msgs, CkMarshalledCLBStatsMessage::free(), msg, SpanningTree::numChildren, SpanningTree::parent, and CentralLB::st.
void CentralLB::LoadBalance | ( | void | ) | [inherited] |
Definition at line 696 of file CentralLB.C.
References _lb_args, _replaySystem, CentralLB::ApplyDecision(), LBDatabase::availVector(), CentralLB::buildStats(), Converse::CkMyPe(), Converse::CkNumPes(), CmiMemoryUsage(), CmiPrintf(), CentralLB::concurrent, CentralLB::cur_ld_balancer, CkLBArgs::debug(), LBSimulation::doSimulation, LBInfo::getInfo(), LBInfo::getSummary(), info, LBDatabaseObj(), malloc(), CentralLB::preprocess(), CkLBArgs::printSummary(), CentralLB::removeCommDataOfDeletedObjs(), CkLBArgs::samePeSpeed(), CentralLB::simulationRead(), CentralLB::start_lb_time, CentralLB::statsData, CentralLB::statsMsgsList, CentralLB::storedMigrateMsg, and CentralLB::Strategy().
Referenced by CentralLB::t_LoadBalance().
void CentralLB::ApplyDecision | ( | void | ) | [inherited] |
Definition at line 758 of file CentralLB.C.
References _lb_args, _replaySystem, LBMigrateMsg::avail_vector, Converse::CkMyPe(), Converse::CkNumPes(), CentralLB::concurrent, CpdHandleLBMessage(), CentralLB::createMigrateMsg(), CkLBArgs::debug(), LBMigrateMsg::expectedLoad, CentralLB::extractMigrateMsg(), free(), MigrateInfo::from_pe, LBDatabase::get_avail_vector(), getPredictedLoadWithMsg(), LBInfo::getSummary(), info, CentralLB::InitiateScatter(), LBDatabaseObj(), LBMigrateMsg::lbDecisionCount, CentralLB::lbDecisionCount, LDOMHandle::ldb, PUP::m, LBMigrateMsg::moves, LBMigrateMsg::n_moves, LBDatabase::new_lbbalancer(), LBMigrateMsg::next_lb, MigrateInfo::obj, LDObjHandle::omhandle, p, LBInfo::peLoads, CentralLB::printStrategyStats(), CkLBArgs::printSummary(), CentralLB::simulationWrite(), CentralLB::stats_msg_count, CentralLB::statsData, LBMigrateMsg::step, CentralLB::storedMigrateMsg, CentralLB::useMem(), and UsrToEnv().
Referenced by CentralLB::LoadBalance().
void CentralLB::t_LoadBalance | ( | void | ) | [inherited] |
Definition at line 834 of file CentralLB.C.
References CentralLB::LoadBalance().
void CentralLB::InitiateScatter | ( | LBMigrateMsg * | msg | ) | [inherited] |
Definition at line 839 of file CentralLB.C.
References Converse::CkNumPes(), MigrateInfo::from_pe, LBScatterMsg::moves, LBMigrateMsg::moves, LBMigrateMsg::n_moves, LBScatterMsg::numMigrates, LBScatterMsg::numMigratesPerPe, CentralLB::ScatterMigrationResults(), envelope::shrinkUsersize(), MigrateInfo::to_pe, and UsrToEnv().
Referenced by CentralLB::ApplyDecision().
void CentralLB::ScatterMigrationResults | ( | LBScatterMsg * | msg | ) | [inherited] |
Definition at line 891 of file CentralLB.C.
References Converse::CkMyPe(), LBScatterMsg::firstPeInSpan, MigrateDecision::fromPe, LBScatterMsg::lastPeInSpan, LBScatterMsg::moves, LBScatterMsg::numMigrates, LBScatterMsg::numMigratesPerPe, envelope::shrinkUsersize(), and UsrToEnv().
Referenced by CentralLB::InitiateScatter().
void CentralLB::removeNonMigratable | ( | LDStats * | statsDataList, | |
int | count | |||
) | [protected, inherited] |
Definition at line 972 of file CentralLB.C.
References CmiPrintf(), LDObjData::cpuTime, _LDCommData::from_proc(), _LDCommDesc::get_type(), idx, LDObjData::migratable, _LDCommData::receiver, CkVec< T >::resize(), and LDObjData::wallTime.
void CentralLB::ReceiveMigration | ( | LBScatterMsg * | m | ) | [inherited] |
Definition at line 1064 of file CentralLB.C.
References Converse::CkMyPe(), CkResetInLdb(), CentralLB::concurrent, CentralLB::ProcessMigrationDecision(), restoreParallelRecovery(), resumeAfterRestoreParallelRecovery(), CentralLB::stats_msg_count, CentralLB::statsData, CentralLB::storedMigrateMsg, CentralLB::storedScatterMsg, and CentralLB::strat_start_time.
void CentralLB::ReceiveMigration | ( | LBMigrateMsg * | m | ) | [inherited] |
Definition at line 1085 of file CentralLB.C.
References Converse::CkMyPe(), CkResetInLdb(), CentralLB::concurrent, CentralLB::ProcessReceiveMigration(), restoreParallelRecovery(), resumeAfterRestoreParallelRecovery(), CentralLB::stats_msg_count, CentralLB::statsData, CentralLB::storedMigrateMsg, and CentralLB::strat_start_time.
void CentralLB::ProcessMigrationDecision | ( | ) | [inherited] |
Definition at line 1105 of file CentralLB.C.
References Converse::CkMyPe(), MigrateDecision::dbIndex, LBScatterMsg::firstPeInSpan, MigrateDecision::fromPe, CentralLB::future_migrates_expected, PUP::m, CentralLB::migrates_completed, CentralLB::migrates_expected, CentralLB::MigrationDone(), LBScatterMsg::moves, LBScatterMsg::numMigrates, LBScatterMsg::numMigratesPerPe, CentralLB::storedScatterMsg, and MigrateDecision::toPe.
Referenced by CentralLB::ReceiveMigration().
void CentralLB::ProcessReceiveMigration | ( | ) | [inherited] |
Definition at line 1135 of file CentralLB.C.
References _lb_args, _restartFlag, MigrateInfo::async_arrival, LBMigrateMsg::avail_vector, Converse::CkMyPe(), Converse::CkNumPes(), CmiMyPe(), CmiPrintf(), CmiWallTimer(), CentralLB::cur_ld_balancer, CkLBArgs::debug(), LBMigrateMsg::expectedLoad, MigrateInfo::from_pe, CentralLB::future_migrates_expected, LBDatabaseObj(), LBMigrateMsg::lbDecisionCount, CentralLB::lbDecisionCount, PUP::m, CentralLB::migrates_completed, CentralLB::migrates_expected, CentralLB::MigrationDone(), LBMigrateMsg::moves, LBMigrateMsg::n_moves, LBMigrateMsg::next_lb, MigrateInfo::obj, sendDummyMigrationCounts(), LBDatabase::set_avail_vector(), LBMigrateMsg::step, CentralLB::storedMigrateMsg, MigrateInfo::to_pe, UpdateLocation(), UsrToEnv(), and LBDB::validObjHandle().
Referenced by CentralLB::ReceiveMigration(), and resumeAfterRestoreParallelRecovery().
void CentralLB::ReceiveDummyMigration | ( | int | _step | ) | [inherited] |
Definition at line 1260 of file CentralLB.C.
References Converse::CkMyPe().
Referenced by _recvGlobalStepHandler(), _recvRestartCheckpointHandler(), _sendDetsReplyHandler(), and _updateHomeAckHandler().
void CentralLB::CheckForRealloc | ( | ) | [inherited] |
Definition at line 1271 of file CentralLB.C.
References _shrinkexpand_basedir, cb, Converse::CkMyPe(), CkStartCheckpoint(), CentralLB::cur_ld_balancer, pending_realloc_state, REALLOC_IN_PROGRESS, REALLOC_MSG_RECEIVED, and CentralLB::start_lb_time.
void CentralLB::ResumeFromReallocCheckpoint | ( | ) | [inherited] |
Definition at line 1289 of file CentralLB.C.
References Converse::CkNumPes(), free(), numProcessAfterRestart, and se_avail_vector.
void CentralLB::WillIbekilled | ( | std::vector< char > | avail, | |
int | newnumProcessAfterRestart | |||
) | [inherited] |
Definition at line 1310 of file CentralLB.C.
References cb, Converse::CkMyPe(), GetNewPeNumber(), mynewpe, numProcessAfterRestart, and willContinue.
void CentralLB::StartCleanup | ( | ) | [inherited] |
Definition at line 1320 of file CentralLB.C.
References CkCleanup().
void CentralLB::MigrationDone | ( | int | balancing | ) | [inherited] |
Definition at line 1325 of file CentralLB.C.
References cb, and CentralLB::MigrationDoneImpl().
Referenced by CentralLB::AtSync(), CentralLB::Migrated(), CentralLB::ProcessMigrationDecision(), and CentralLB::ProcessReceiveMigration().
void CentralLB::MigrationDoneImpl | ( | int | balancing | ) | [inherited] |
Definition at line 1336 of file CentralLB.C.
References _lb_args, Converse::CkMyPe(), CmiGridQueueDeregisterAll(), CentralLB::LoadbalanceDone(), CentralLB::migrates_completed, CentralLB::migrates_expected, LBDatabase::MigrationDone(), LBDatabase::Object(), resumeCentralLbAfterChkpt(), CentralLB::ResumeClients(), CentralLB::savedBalancing, startLoadBalancingMlog(), and CkLBArgs::syncResume().
Referenced by CentralLB::MigrationDone().
void CentralLB::endMigrationDone | ( | int | balancing | ) | [inherited] |
Definition at line 1380 of file CentralLB.C.
References _lb_args, Converse::CkMyPe(), CentralLB::ResumeClients(), and CkLBArgs::syncResume().
Referenced by resumeCentralLbAfterChkpt().
void CentralLB::ResumeClients | ( | void | ) | [inherited] |
Definition at line 1411 of file CentralLB.C.
Referenced by CentralLB::endMigrationDone(), and CentralLB::MigrationDoneImpl().
void CentralLB::ResumeClients | ( | int | balancing | ) | [inherited] |
Definition at line 1416 of file CentralLB.C.
References CentralLB::CheckMigrationComplete(), Converse::CkMyPe(), CentralLB::future_migrates_completed, CentralLB::future_migrates_expected, globalResumeCount, and CentralLB::resumeCount.
void CentralLB::CheckMigrationComplete | ( | ) | [inherited] |
Definition at line 1445 of file CentralLB.C.
References _lb_args, Converse::CkMyPe(), CkLBArgs::debug(), CentralLB::future_migrates_completed, CentralLB::future_migrates_expected, h, _LDOMid::id, LDOMHandle::id, _ckGroupID::idx, CentralLB::lbdone, CkLBArgs::metaLbModelDir(), CkLBArgs::metaLbOn(), and CentralLB::start_lb_time.
Referenced by CentralLB::Migrated(), and CentralLB::ResumeClients().
void CentralLB::removeCommDataOfDeletedObjs | ( | LDStats * | stats | ) | [inherited] |
Definition at line 1478 of file CentralLB.C.
References _LDCommDesc::dest, _LDCommDesc::destObjs, _LDCommData::from_proc(), _LDCommDesc::get_destObjs(), _LDCommDesc::get_type(), idx, _LDCommData::receiver, and CkVec< T >::resize().
Referenced by CentralLB::LoadBalance().
void CentralLB::preprocess | ( | LDStats * | stats | ) | [inherited] |
Definition at line 1525 of file CentralLB.C.
References _lb_args, _lb_predict, CentralLB::FuturePredictor(), CkLBArgs::ignoreBgLoad(), and CentralLB::statsData.
Referenced by CentralLB::LoadBalance(), and CentralLB::simulationRead().
void CentralLB::printStrategyStats | ( | LBMigrateMsg * | msg | ) | [private, inherited] |
Definition at line 1534 of file CentralLB.C.
References Converse::CkMyPe(), envelope::getTotalsize(), LBMigrateMsg::n_moves, LBDatabase::Object(), CentralLB::strat_start_time, CentralLB::useMem(), LBDatabase::useMem(), and UsrToEnv().
Referenced by CentralLB::ApplyDecision(), and CentralLB::Strategy().
LBMigrateMsg * CentralLB::Strategy | ( | LDStats * | stats | ) | [virtual, inherited] |
Definition at line 1549 of file CentralLB.C.
References _lb_args, Converse::CkMyPe(), CentralLB::concurrent, CentralLB::createMigrateMsg(), CentralLB::cur_ld_balancer, CkLBArgs::debug(), msg, CentralLB::printStrategyStats(), CentralLB::strat_start_time, and CentralLB::work().
Referenced by CentralLB::callStrategy(), CentralLB::LoadBalance(), CentralLB::simulationRead(), and CentralLB::Strategy().
void CentralLB::changeFreq | ( | int | n | ) | [virtual, inherited] |
Definition at line 1597 of file CentralLB.C.
References Converse::CkMyPe(), CmiAbort(), cpufreq_sysfs_write(), and CentralLB::physicalCoresPerNode.
void CentralLB::work | ( | LDStats * | stats | ) | [virtual, inherited] |
Definition at line 1617 of file CentralLB.C.
Referenced by CentralLB::Strategy(), PhasebyArrayLB::work(), NodeLevelLB::work(), HybridLB::work(), and AdaptiveLB::work().
LBMigrateMsg * CentralLB::createMigrateMsg | ( | LDStats * | stats | ) | [virtual, inherited] |
Definition at line 1624 of file CentralLB.C.
References MigrateInfo::async_arrival, LDObjData::asyncArrival, Converse::CkNumPes(), MigrateInfo::from_pe, LDObjData::handle, CkVec< T >::insertAtEnd(), CkVec< T >::length(), LBMigrateMsg::moves, msg, LBMigrateMsg::n_moves, MigrateInfo::obj, and MigrateInfo::to_pe.
Referenced by CentralLB::ApplyDecision(), and CentralLB::Strategy().
LBMigrateMsg * CentralLB::extractMigrateMsg | ( | LBMigrateMsg * | m, | |
int | p | |||
) | [virtual, inherited] |
Definition at line 1656 of file CentralLB.C.
References LBMigrateMsg::avail_vector, Converse::CkNumPes(), LBMigrateMsg::expectedLoad, MigrateInfo::from_pe, LBMigrateMsg::level, LBMigrateMsg::moves, msg, LBMigrateMsg::n_moves, LBMigrateMsg::next_lb, and MigrateInfo::to_pe.
Referenced by CentralLB::ApplyDecision().
void CentralLB::simulationWrite | ( | ) | [protected, inherited] |
Definition at line 1690 of file CentralLB.C.
References CkExit(), CmiPrintf(), LBSimulation::dumpFile, LBSimulation::dumpStep, LBSimulation::dumpStepSize, free(), malloc(), and CentralLB::writeStatsMsgs().
Referenced by CentralLB::ApplyDecision().
void CentralLB::simulationRead | ( | ) | [protected, inherited] |
Definition at line 1714 of file CentralLB.C.
References CkExit(), CmiPrintf(), CentralLB::concurrent, LBSimulation::dumpFile, CentralLB::findSimResults(), free(), malloc(), LBMigrateMsg::n_moves, CentralLB::preprocess(), LBSimulation::PrintDecisions(), LBSimulation::PrintDifferences(), LBSimulation::PrintSimulationResults(), LBSimulation::procsChanged, CentralLB::readStatsMsgs(), LBSimulation::reset(), LBSimulation::showDecisionsOnly, LBSimulation::simProcs, LBSimulation::simStep, LBSimulation::simStepSize, startT, CentralLB::statsData, CentralLB::Strategy(), and CentralLB::useMem().
Referenced by CentralLB::LoadBalance().
void CentralLB::readStatsMsgs | ( | const char * | filename | ) | [inherited] |
Definition at line 1781 of file CentralLB.C.
References _lb_args, CmiAbort(), CmiPrintf(), CkLBArgs::lbversion(), p, LBSimulation::procsChanged, LBSimulation::simProcs, CentralLB::stats_msg_count, CentralLB::statsData, and CentralLB::statsMsgsList.
Referenced by CentralLB::simulationRead().
void CentralLB::writeStatsMsgs | ( | const char * | filename | ) | [inherited] |
Definition at line 1829 of file CentralLB.C.
References _lb_args, CmiAbort(), CmiPrintf(), PUP::machineInfo::current(), CkLBArgs::lbversion(), p, CentralLB::stats_msg_count, and CentralLB::statsData.
Referenced by CentralLB::simulationWrite().
void CentralLB::findSimResults | ( | LDStats * | stats, | |
int | count, | |||
LBMigrateMsg * | msg, | |||
LBSimulation * | simResults | |||
) | [protected, inherited] |
Definition at line 1874 of file CentralLB.C.
References CmiPrintf(), getPredictedLoadWithMsg(), LBSimulation::lbinfo, LBSimulation::numPes, and startT.
Referenced by CentralLB::simulationRead().
void CentralLB::pup | ( | PUP::er & | p | ) | [inherited] |
Definition at line 1884 of file CentralLB.C.
References CentralLB::initLB(), PUP::er::isPacking(), PUP::er::isUnpacking(), CentralLB::lbDecisionCount, CLBStatsMsg::pup(), CentralLB::reduction_started, CentralLB::resumeCount, CentralLB::statsMsg, and CentralLB::use_thread.
int CentralLB::useMem | ( | ) | [inherited] |
Definition at line 1904 of file CentralLB.C.
References Converse::CkNumPes(), and CentralLB::statsData.
Referenced by CentralLB::ApplyDecision(), CentralLB::printStrategyStats(), and CentralLB::simulationRead().
CLBStatsMsg is not a real message now.
CLBStatsMsg is used for all processors to fill in their local load and comm statistics and send to processor 0
Definition at line 1916 of file CentralLB.C.
References CLBStatsMsg::avail_vector, CLBStatsMsg::commData, CLBStatsMsg::n_comm, CLBStatsMsg::n_objs, and CLBStatsMsg::objData.
CLBStatsMsg::~CLBStatsMsg | ( | ) | [inherited] |
Definition at line 1924 of file CentralLB.C.
References CLBStatsMsg::avail_vector, CLBStatsMsg::commData, and CLBStatsMsg::objData.
void CLBStatsMsg::pup | ( | PUP::er & | p | ) | [inherited] |
Definition at line 1930 of file CentralLB.C.
References CLBStatsMsg::avail_vector, CLBStatsMsg::bg_cputime, CLBStatsMsg::bg_walltime, Converse::CkNumPes(), CLBStatsMsg::commData, CLBStatsMsg::from_pe, CLBStatsMsg::idletime, PUP::er::isUnpacking(), CLBStatsMsg::n_comm, CLBStatsMsg::n_objs, CLBStatsMsg::next_lb, CLBStatsMsg::objData, p, CLBStatsMsg::pe_speed, CLBStatsMsg::pe_temp, CLBStatsMsg::step, CLBStatsMsg::total_cputime, and CLBStatsMsg::total_walltime.
Referenced by CkMarshalledCLBStatsMessage::pup(), and CentralLB::pup().
void CkMarshalledCLBStatsMessage::free | ( | ) | [inherited] |
Definition at line 1971 of file CentralLB.C.
References count, and CkMarshalledCLBStatsMessage::msgs.
Referenced by CentralLB::ReceiveStatsViaTree(), and CkMarshalledCLBStatsMessage::~CkMarshalledCLBStatsMessage().
void CkMarshalledCLBStatsMessage::add | ( | CkMarshalledCLBStatsMessage && | msg | ) | [inherited] |
void CkMarshalledCLBStatsMessage::pup | ( | PUP::er & | p | ) | [inherited] |
Definition at line 1986 of file CentralLB.C.
References count, PUP::er::isUnpacking(), msg, CkMarshalledCLBStatsMessage::msgs, and CLBStatsMsg::pup().
SpanningTree::SpanningTree | ( | ) | [inherited] |
Definition at line 2001 of file CentralLB.C.
References SpanningTree::arity, SpanningTree::calcNumChildren(), SpanningTree::calcParent(), Converse::CkMyPe(), Converse::CkNumPes(), and int.
void SpanningTree::calcParent | ( | int | n | ) | [inherited] |
Definition at line 2009 of file CentralLB.C.
References SpanningTree::arity, and SpanningTree::parent.
Referenced by SpanningTree::SpanningTree().
void SpanningTree::calcNumChildren | ( | int | n | ) | [inherited] |
Definition at line 2016 of file CentralLB.C.
References SpanningTree::arity, Converse::CkNumPes(), and SpanningTree::numChildren.
Referenced by SpanningTree::SpanningTree().
void CentralLB::staticPredictorOn | ( | void * | data, | |
void * | model | |||
) | [static, inherited] |
Definition at line 10 of file CentralPredictor.C.
References CentralLB::predictorOn().
Referenced by CentralLB::initLB().
void CentralLB::staticPredictorOnWin | ( | void * | data, | |
void * | model, | |||
int | wind | |||
) | [static, inherited] |
Definition at line 16 of file CentralPredictor.C.
References CentralLB::predictorOn().
Referenced by CentralLB::initLB().
void CentralLB::staticPredictorOff | ( | void * | data | ) | [static, inherited] |
Definition at line 22 of file CentralPredictor.C.
References CentralLB::predictorOff().
Referenced by CentralLB::initLB().
void CentralLB::staticChangePredictor | ( | void * | data, | |
void * | model | |||
) | [static, inherited] |
Definition at line 28 of file CentralPredictor.C.
References CentralLB::changePredictor().
Referenced by CentralLB::initLB().
ProcArray::ProcArray | ( | BaseLB::LDStats * | stats | ) | [inherited] |
Definition at line 16 of file ckgraph.C.
References ProcArray::avgLoad, BaseLB::LDStats::nprocs(), BaseLB::LDStats::procs, and ProcArray::procs.
void ProcArray::resetTotalLoad | ( | ) | [inherited] |
Definition at line 35 of file ckgraph.C.
References ProcArray::procs.
Referenced by TreeMatchLB::work(), TempAwareGreedyLB::work(), RecBipartLB::work(), and GraphBFTLB::work().
ObjGraph::ObjGraph | ( | BaseLB::LDStats * | stats | ) | [inherited] |
Definition at line 40 of file ckgraph.C.
References _LDCommData::bytes, BaseLB::LDStats::commData, McastSrc::destList, _LDCommData::from_proc(), BaseLB::LDStats::from_proc, _LDCommDesc::get_destObj(), _LDCommDesc::get_destObjs(), BaseLB::LDStats::getHash(), idx, BaseLB::LDStats::makeCommHash(), _LDCommData::messages, BaseLB::LDStats::n_comm, BaseLB::LDStats::n_objs, BaseLB::LDStats::objData, offset, pup_decodeSize(), _LDCommData::receiver, _LDCommData::recv_type(), _LDCommData::sender, and ObjGraph::vertices.
void ObjGraph::convertDecisions | ( | BaseLB::LDStats * | stats | ) | [inherited] |
Definition at line 90 of file ckgraph.C.
References BaseLB::LDStats::n_objs, BaseLB::LDStats::to_proc, and ObjGraph::vertices.
Referenced by ZoltanLB::work(), TreeMatchLB::work(), TempAwareGreedyLB::work(), TempAwareCommLB::work(), TeamLB::work(), ScotchTopoLB::work(), ScotchRefineLB::work(), ScotchLB::work(), RefineSwapLB::work(), RecBipartLB::work(), MetisLB::work(), GraphPartLB::work(), GraphBFTLB::work(), and CommAwareRefineLB::work().
void ProcArrayTemp::convertToInsts | ( | BaseLB::LDStats * | stats | ) | [inherited] |
Definition at line 17 of file ckgraphTemp.C.
References ProcArray::avgLoad, BaseLB::LDStats::nprocs(), ProcArrayTemp::procFreq, and ProcArray::procs.
Referenced by TempAwareCommLB::work().
void ObjGraphTemp::convertToInsts | ( | BaseLB::LDStats * | stats | ) | [inherited] |
Definition at line 32 of file ckgraphTemp.C.
References BaseLB::LDStats::n_objs, ObjGraphTemp::procFreq, and ObjGraph::vertices.
Referenced by TempAwareCommLB::work().
minHeap::minHeap | ( | int | size | ) | [inherited] |
minHeap::~minHeap | ( | ) | [inherited] |
int minHeap::insert | ( | InfoRecord * | x | ) | [inherited] |
Definition at line 26 of file ckheap.C.
References minHeap::count, heapRecord::deleted, minHeap::h, info, heapRecord::info, InfoRecord::load, parent(), minHeap::size, and minHeap::swap().
Referenced by DistributedLB::MapObjsToPe(), RefineKLB::performGreedyMoves(), DistributedLB::RecvAck(), RefinerApprox::refine(), DistributedLB::Setup(), WSLB::Strategy(), NeighborLB::Strategy(), and GreedyCommLB::work().
InfoRecord * minHeap::deleteMin | ( | ) | [inherited] |
Definition at line 55 of file ckheap.C.
References minHeap::count, minHeap::h, info, heapRecord::info, InfoRecord::load, and minHeap::swap().
Referenced by DistributedLB::Cleanup(), DistributedLB::MapObjsToPe(), RefineKLB::performGreedyMoves(), DistributedLB::RecvAck(), RefinerApprox::refine(), WSLB::Strategy(), NeighborLB::Strategy(), and GreedyCommLB::work().
InfoRecord * minHeap::iterator | ( | heapIterator * | iter | ) | [inherited] |
Definition at line 92 of file ckheap.C.
References minHeap::count, minHeap::h, heapRecord::info, and heapIterator::next.
InfoRecord * minHeap::next | ( | heapIterator * | iter | ) | [inherited] |
Definition at line 98 of file ckheap.C.
References minHeap::count, minHeap::h, heapRecord::info, and heapIterator::next.
Definition at line 105 of file ckheap.C.
References minHeap::h, heapRecord::info, info, and InfoRecord::load.
Referenced by minHeap::update().
void minHeap::update | ( | InfoRecord * | x | ) | [inherited] |
Definition at line 119 of file ckheap.C.
References CmiAbort(), minHeap::h, index, info, and minHeap::numElements().
Referenced by minHeap::update(), and GreedyCommLB::work().
void minHeap::update | ( | int | index | ) | [private, inherited] |
Definition at line 131 of file ckheap.C.
References minHeap::h, info, heapRecord::info, minHeap::least(), InfoRecord::load, minHeap::numElements(), parent(), minHeap::swap(), and minHeap::update().
maxHeap::maxHeap | ( | int | size | ) | [inherited] |
maxHeap::~maxHeap | ( | ) | [inherited] |
int maxHeap::numElements | ( | ) | [inherited] |
Definition at line 172 of file ckheap.C.
References maxHeap::count.
Referenced by NeighborCommLB::Strategy().
int maxHeap::insert | ( | InfoRecord * | x | ) | [inherited] |
Definition at line 177 of file ckheap.C.
References maxHeap::count, heapRecord::deleted, maxHeap::h, info, heapRecord::info, InfoRecord::load, parent(), maxHeap::size, and maxHeap::swap().
Referenced by RefinerApprox::computeA(), RefinerApprox::computeB(), RefineKLB::performGreedyMoves(), RefinerTemp::refine(), RefinerComm::refine(), Refiner::refine(), RefinerApprox::removeBigComputes(), RefinerApprox::removeBiggestSmallComputes(), WSLB::Strategy(), NeighborLB::Strategy(), NeighborCommLB::Strategy(), and VectorStrategy().
InfoRecord * maxHeap::deleteMax | ( | ) | [inherited] |
Definition at line 206 of file ckheap.C.
References maxHeap::count, maxHeap::h, info, heapRecord::info, InfoRecord::load, and maxHeap::swap().
Referenced by RefinerApprox::computeA(), RefinerApprox::computeB(), RefineKLB::performGreedyMoves(), RefinerTemp::refine(), RefinerComm::refine(), Refiner::refine(), RefinerApprox::removeBigComputes(), RefinerApprox::removeBiggestSmallComputes(), WSLB::Strategy(), NeighborLB::Strategy(), NeighborCommLB::Strategy(), and VectorStrategy().
InfoRecord * maxHeap::iterator | ( | heapIterator * | iter | ) | [inherited] |
Definition at line 243 of file ckheap.C.
References maxHeap::count, maxHeap::h, heapRecord::info, and heapIterator::next.
InfoRecord * maxHeap::next | ( | heapIterator * | iter | ) | [inherited] |
Definition at line 250 of file ckheap.C.
References maxHeap::count, maxHeap::h, heapRecord::info, and heapIterator::next.
Set::~Set | ( | ) | [inherited] |
void Set::insert | ( | InfoRecord * | info | ) | [inherited] |
Definition at line 23 of file ckset.C.
References Set::find(), Set::head, listNode::info, and listNode::next.
Referenced by RefinerTemp::assign(), RefinerComm::assign(), Refiner::assign(), RefinerTemp::refine(), RefinerComm::refine(), RefinerApprox::refine(), Refiner::refine(), RefinerApprox::removeBigComputes(), RefinerApprox::removeBiggestSmallComputes(), and VectorStrategy().
void Set::myRemove | ( | listNode ** | n, | |
InfoRecord * | r | |||
) | [inherited] |
void Set::remove | ( | InfoRecord * | r | ) | [inherited] |
Definition at line 44 of file ckset.C.
References Set::head, listNode::info, listNode::next, and p.
Referenced by RefinerTemp::deAssign(), RefinerComm::deAssign(), Refiner::deAssign(), RefinerTemp::refine(), RefinerApprox::refine(), Refiner::refine(), and VectorStrategy().
int Set::find | ( | InfoRecord * | r | ) | [inherited] |
Definition at line 70 of file ckset.C.
References Set::head, listNode::info, listNode::next, and p.
Referenced by Set::insert().
InfoRecord * Set::iterator | ( | Iterator * | iter | ) | [inherited] |
Definition at line 80 of file ckset.C.
References Set::head, listNode::info, listNode::next, and Iterator::next.
Referenced by RefinerApprox::computeA(), RefinerApprox::computeB(), RefinerTemp::refine(), RefinerComm::refine(), RefinerApprox::refine(), Refiner::refine(), RefinerApprox::removeBigComputes(), RefinerApprox::removeBiggestSmallComputes(), and VectorStrategy().
InfoRecord * Set::next | ( | Iterator * | iter | ) | [inherited] |
Definition at line 89 of file ckset.C.
References listNode::info, listNode::next, and Iterator::next.
Referenced by RefinerApprox::computeA(), RefinerApprox::computeB(), RefinerTemp::refine(), RefinerComm::refine(), RefinerApprox::refine(), Refiner::refine(), RefinerApprox::removeBigComputes(), RefinerApprox::removeBiggestSmallComputes(), and VectorStrategy().
int Set::numElements | ( | ) | [inherited] |
Definition at line 102 of file ckset.C.
References Set::head, n, listNode::next, and p.
Referenced by RefinerApprox::computeA(), RefinerApprox::computeB(), RefinerTemp::isHeavy(), Refiner::isHeavy(), RefinerApprox::removeBigComputes(), and RefinerApprox::removeBiggestSmallComputes().
void Set::print | ( | ) | [inherited] |
Definition at line 114 of file ckset.C.
References Set::head, InfoRecord::Id, listNode::info, listNode::next, and p.
void ComboCentLB::work | ( | LDStats * | stats | ) | [protected, virtual, inherited] |
Definition at line 43 of file ComboCentLB.C.
References ComboCentLB::clbs, and CkVec< T >::length().
Definition at line 63 of file CommAwareRefineLB.C.
void CommAwareRefineLB::work | ( | LDStats * | stats | ) | [inherited] |
========================== INITIALIZATION =============================
============================= STRATEGY ================================
============================== CLEANUP ================================
Definition at line 155 of file CommAwareRefineLB.C.
References _lb_args, Converse::CkMyPe(), ObjGraph::convertDecisions(), CkLBArgs::debug(), ProcArray::getAverageLoad(), getPossiblePes(), ProcInfo::getProcId(), handleTransfer(), lower_threshold, p, popFromProcHeap(), ProcArray::procs, stats::time(), updateLoadInfo(), upper_threshold, ObjGraph::vertices, and x.
Definition at line 43 of file CommLB.C.
References CommLB::alloc_array, alloc_struct::load, alloc_struct::nbyte, alloc_struct::nmsg, CommLB::nobj, and CommLB::npe.
Referenced by CommLB::work().
double CommLB::compute_cost | ( | int | id, | |
int | pe, | |||
int | n_alloc, | |||
int & | out_msg, | |||
int & | out_byte | |||
) | [private, inherited] |
Definition at line 53 of file CommLB.C.
References CommLB::alloc_array, alpha, beta, graph::data, alloc_struct::load, graph::next, alloc_struct::nmsg, CommLB::nobj, CommLB::npe, and CommLB::object_graph.
Referenced by CommLB::work().
Definition at line 88 of file CommLB.C.
References graph::data, graph::id, graph::next, graph::nmsg, and CommLB::object_graph.
Referenced by CommLB::work().
void CommLB::work | ( | LDStats * | stats | ) | [private, inherited] |
Definition at line 135 of file CommLB.C.
References _lb_args, CommLB::add_graph(), CommLB::alloc(), CommLB::alloc_array, _LDCommData::bytes, CmiAbort(), CommLB::compute_cost(), ObjectHeap::deleteMax(), _LDCommData::from_proc(), _LDCommDesc::get_destObj(), ObjectRecord::id, CkLBArgs::ignoreBgLoad(), init(), ObjectHeap::insert(), _LDCommData::messages, LDObjData::migratable, CommLB::nobj, CommLB::npe, CommLB::object_graph, ObjectRecord::pe, ObjectRecord::pos, _LDCommData::receiver, _LDCommData::recv_type(), _LDCommData::sender, ObjectRecord::val, LDObjData::wallTime, and x.
ObjectHeap::ObjectHeap | ( | int | size | ) | [inherited] |
Definition at line 9 of file CommLBHeap.C.
References ObjectHeap::count, ObjectHeap::h, and ObjectHeap::size.
int ObjectHeap::numElements | ( | ) | [inherited] |
int ObjectHeap::insert | ( | ObjectRecord * | x | ) | [inherited] |
Definition at line 19 of file CommLBHeap.C.
References ObjectHeap::count, hRecord::deleted, ObjectHeap::h, info, hRecord::info, parent(), ObjectHeap::size, ObjectHeap::swap(), and ObjectRecord::val.
Referenced by GreedyCommLB::work(), and CommLB::work().
ObjectRecord * ObjectHeap::deleteMax | ( | ) | [inherited] |
Definition at line 44 of file CommLBHeap.C.
References ObjectHeap::count, ObjectHeap::h, info, hRecord::info, ObjectHeap::swap(), and ObjectRecord::val.
Referenced by GreedyCommLB::work(), and CommLB::work().
ObjectRecord * ObjectHeap::iterator | ( | hIterator * | iter | ) | [inherited] |
Definition at line 79 of file CommLBHeap.C.
References ObjectHeap::count, ObjectHeap::h, hRecord::info, and hIterator::next.
ObjectRecord * ObjectHeap::next | ( | hIterator * | iter | ) | [inherited] |
Definition at line 86 of file CommLBHeap.C.
References ObjectHeap::count, ObjectHeap::h, hRecord::info, and hIterator::next.
Definition at line 28 of file GraphBFTLB.C.
void GraphBFTLB::work | ( | LDStats * | stats | ) | [inherited] |
========================== INITIALIZATION =============================
============================= STRATEGY ================================
============================== CLEANUP ================================
Definition at line 32 of file GraphBFTLB.C.
References ObjGraph::convertDecisions(), ProcArray::getAverageLoad(), ProcArray::procs, ProcArray::resetTotalLoad(), and ObjGraph::vertices.
Definition at line 27 of file GraphPartLB.C.
void GraphPartLB::work | ( | LDStats * | stats | ) | [inherited] |
========================== INITIALIZATION =============================
============================= STRATEGY ================================
============================== CLEANUP ================================
Definition at line 31 of file GraphPartLB.C.
References ObjGraph::convertDecisions().
Definition at line 37 of file GreedyAgentLB.C.
Definition at line 43 of file GreedyAgentLB.C.
References GreedyAgentLB::GT.
Referenced by GreedyAgentLB::Heapify().
void GreedyAgentLB::Heapify | ( | HeapData * | heap, | |
int | node, | |||
int | heapSize, | |||
HeapCmp | cmp | |||
) | [private, inherited] |
Definition at line 52 of file GreedyAgentLB.C.
References GreedyAgentLB::Compare(), left(), and right().
Referenced by GreedyAgentLB::BuildHeap(), GreedyAgentLB::HeapSort(), and GreedyAgentLB::work().
Definition at line 75 of file GreedyAgentLB.C.
References GreedyAgentLB::Heapify().
Referenced by GreedyAgentLB::BuildCpuArray(), and GreedyAgentLB::HeapSort().
Definition at line 82 of file GreedyAgentLB.C.
References GreedyAgentLB::BuildHeap(), GreedyAgentLB::Heapify(), and key.
Referenced by GreedyAgentLB::BuildObjectArray().
GreedyAgentLB::HeapData * GreedyAgentLB::BuildObjectArray | ( | CentralLB::LDStats * | stats, | |
int | count, | |||
int * | objCount | |||
) | [private, inherited] |
Definition at line 105 of file GreedyAgentLB.C.
References CmiAbort(), GreedyAgentLB::GT, GreedyAgentLB::HeapSort(), GreedyAgentLB::HeapData::id, GreedyAgentLB::HeapData::load, LDObjData::migratable, GreedyAgentLB::HeapData::pe, and LDObjData::wallTime.
Referenced by GreedyAgentLB::work().
GreedyAgentLB::HeapData * GreedyAgentLB::BuildCpuArray | ( | CentralLB::LDStats * | stats, | |
int | count, | |||
int * | peCount | |||
) | [private, inherited] |
Definition at line 140 of file GreedyAgentLB.C.
References GreedyAgentLB::BuildHeap(), CmiAbort(), data, GreedyAgentLB::HeapData::id, GreedyAgentLB::HeapData::load, GreedyAgentLB::LT, LDObjData::migratable, GreedyAgentLB::HeapData::pe, and LDObjData::wallTime.
Referenced by GreedyAgentLB::work().
void GreedyAgentLB::work | ( | LDStats * | stats | ) | [inherited] |
Definition at line 188 of file GreedyAgentLB.C.
References _lb_args, GreedyAgentLB::BuildCpuArray(), GreedyAgentLB::BuildObjectArray(), Converse::CkMyPe(), CkLBArgs::debug(), dest, GreedyAgentLB::Heapify(), GreedyAgentLB::HeapData::id, GreedyAgentLB::HeapData::load, location, GreedyAgentLB::LT, LBTopology::max_neighbors(), TopologyAgent::my_preferred_procs(), Agent::_Elem::pe, GreedyAgentLB::HeapData::pe, r, TopologyAgent::topo, and GreedyAgentLB::topologyAgent.
GreedyCommLB::GreedyCommLB | ( | const CkLBOptions & | opt | ) | [inherited] |
Definition at line 34 of file GreedyCommLB.C.
References Converse::CkMyPe(), GreedyCommLB::init(), and quietModeRequested.
GreedyCommLB::GreedyCommLB | ( | CkMigrateMessage * | m | ) | [inherited] |
Definition at line 41 of file GreedyCommLB.C.
References GreedyCommLB::init().
Definition at line 45 of file GreedyCommLB.C.
Definition at line 52 of file GreedyCommLB.C.
References GreedyCommLB::assigned_array, InfoRecord::load, and GreedyCommLB::processors.
Referenced by GreedyCommLB::work().
Definition at line 59 of file GreedyCommLB.C.
References GreedyCommLB::alpha, GreedyCommLB::assigned_array, GreedyCommLB::beta, graph::id, graph::next, GreedyCommLB::nobj, and GreedyCommLB::object_graph.
Referenced by GreedyCommLB::work().
Definition at line 81 of file GreedyCommLB.C.
References GreedyCommLB::alpha, GreedyCommLB::assigned_array, GreedyCommLB::beta, graph::id, InfoRecord::load, graph::next, GreedyCommLB::nobj, GreedyCommLB::object_graph, and GreedyCommLB::processors.
Referenced by GreedyCommLB::work().
Definition at line 100 of file GreedyCommLB.C.
References graph::data, graph::id, graph::next, graph::nmsg, and GreedyCommLB::object_graph.
Referenced by GreedyCommLB::work().
void GreedyCommLB::work | ( | LDStats * | stats | ) | [inherited] |
Definition at line 137 of file GreedyCommLB.C.
References _lb_args, GreedyCommLB::add_graph(), GreedyCommLB::alloc(), GreedyCommLB::alpha, GreedyCommLB::assigned_array, processorInfo::backgroundLoad, GreedyCommLB::beta, _LDCommData::bytes, Converse::CkMyPe(), CmiAbort(), GreedyCommLB::compute_com(), processorInfo::computeLoad, CkLBArgs::debug(), ObjectHeap::deleteMax(), minHeap::deleteMin(), _LDCommData::from_proc(), _LDCommDesc::get_destObj(), _LDCommDesc::get_destObjs(), graph::id, ObjectRecord::id, InfoRecord::Id, CkLBArgs::ignoreBgLoad(), init_data(), minHeap::insert(), ObjectHeap::insert(), InfoRecord::load, _LDCommData::messages, CkLBArgs::migObjOnly(), LDObjData::migratable, graph::next, GreedyCommLB::nmigobj, GreedyCommLB::nobj, GreedyCommLB::npe, GreedyCommLB::object_graph, p, ObjectRecord::pe, processorInfo::pe_speed, ObjectRecord::pos, GreedyCommLB::processors, CkVec< T >::push_back(), _LDCommData::receiver, _LDCommData::recv_type(), _LDCommData::sender, CkVec< T >::size(), minHeap::update(), GreedyCommLB::update(), ObjectRecord::val, LDObjData::wallTime, and x.
Definition at line 36 of file GreedyLB.C.
void GreedyLB::work | ( | LDStats * | stats | ) | [inherited] |
Definition at line 56 of file GreedyLB.C.
References _lb_args, Converse::CkMyPe(), CmiAbort(), CkLBArgs::debug(), dest, ProcInfo::getProcId(), CkLBArgs::metaLbOn(), LDObjData::migratable, p, ProcInfo::pe_speed(), sort(), ProcInfo::totalLoad(), and LDObjData::wallTime.
GreedyRefineLB::GreedyRefineLB | ( | CkMigrateMessage * | m | ) | [inherited] |
Definition at line 195 of file GreedyRefineLB.C.
References _lb_args, GreedyRefineLB::migrationTolerance, and CkLBArgs::percentMovesAllowed().
double GreedyRefineLB::greedyLB | ( | const std::vector< GObj * > & | pobjs, | |
GreedyRefineLB::PHeap & | procHeap, | |||
const BaseLB::LDStats * | stats | |||
) | const [private, inherited] |
Definition at line 205 of file GreedyRefineLB.C.
References _lb_args, Converse::CkMyPe(), CkLBArgs::debug(), GreedyRefineLB::GProc::id, GreedyRefineLB::GObj::load, GreedyRefineLB::GProc::load, GreedyRefineLB::GObj::oldPE, p, GreedyRefineLB::PHeap::pop(), GreedyRefineLB::PHeap::push(), GreedyRefineLB::GProc::speed, and GreedyRefineLB::strategyStartTime.
Referenced by GreedyRefineLB::work().
void GreedyRefineLB::dumpObjLoads | ( | std::vector< GObj > & | objs | ) | [private, inherited] |
Definition at line 232 of file GreedyRefineLB.C.
References endl(), and GreedyRefineLB::GObj::load.
void GreedyRefineLB::dumpProcLoads | ( | std::vector< GProc > & | procs | ) | [private, inherited] |
Definition at line 242 of file GreedyRefineLB.C.
References endl(), GreedyRefineLB::GProc::load, and p.
double GreedyRefineLB::fillData | ( | LDStats * | stats, | |
std::vector< GObj > & | objs, | |||
std::vector< GObj * > & | pobjs, | |||
std::vector< GProc > & | procs, | |||
PHeap & | procHeap | |||
) | [private, inherited] |
Definition at line 254 of file GreedyRefineLB.C.
References _lb_args, GreedyRefineLB::PHeap::addProcessors(), GreedyRefineLB::GProc::available, GreedyRefineLB::availablePes, GreedyRefineLB::GProc::bgload, Converse::CkMyPe(), CkLBArgs::debug(), GreedyRefineLB::GObj::id, GreedyRefineLB::GProc::id, GreedyRefineLB::GObj::load, LDObjData::migratable, GreedyRefineLB::GObj::oldPE, p, speed(), GreedyRefineLB::GProc::speed, GreedyRefineLB::totalObjLoad, and LDObjData::wallTime.
Referenced by GreedyRefineLB::work().
void GreedyRefineLB::sendSolution | ( | double | maxLoad, | |
int | migrations | |||
) | [private, inherited] |
Definition at line 367 of file GreedyRefineLB.C.
References _lb_args, cb, Converse::CkMyPe(), CkLBArgs::debug(), free(), malloc(), CkReduction::set, and GreedyRefineLB::strategyStartTime.
Referenced by GreedyRefineLB::work().
void GreedyRefineLB::work | ( | LDStats * | stats | ) | [inherited] |
Definition at line 388 of file GreedyRefineLB.C.
References _lb_args, GreedyRefineLB::PHeap::addProcessors(), GreedyRefineLB::GProc::available, cb, Converse::CkMyPe(), CkLBArgs::debug(), GreedyRefineLB::fillData(), getGreedyRefineParams(), GreedyRefineLB::greedyLB(), GreedyRefineLB::GObj::id, GreedyRefineLB::GProc::id, GreedyRefineLB::GObj::load, GreedyRefineLB::GProc::load, GreedyRefineLB::migrationTolerance, GreedyRefineLB::GObj::oldPE, p, GreedyRefineLB::PHeap::push(), GreedyRefineLB::receiveTotalTime(), GreedyRefineLB::PHeap::remove(), GreedyRefineLB::sendSolution(), sort(), GreedyRefineLB::GProc::speed, GreedyRefineLB::strategyStartTime, CkReduction::sum_double, GreedyRefineLB::PHeap::top(), GreedyRefineLB::totalObjLoad, and GreedyRefineLB::totalObjs.
void GreedyRefineLB::receiveTotalTime | ( | double | time | ) | [inherited] |
Definition at line 486 of file GreedyRefineLB.C.
References Converse::CkNumPes().
Referenced by GreedyRefineLB::work().
void GreedyRefineLB::receiveSolutions | ( | CkReductionMsg * | msg | ) | [inherited] |
Definition at line 492 of file GreedyRefineLB.C.
References _lb_args, CkLBArgs::debug(), CkReductionMsg::getData(), getGreedyRefineParams(), GreedyRefineLB::Solution::max_load, GreedyRefineLB::Solution::migrations, GreedyRefineLB::migrationTolerance, CkReduction::setElement::next(), GreedyRefineLB::Solution::pe, r, and GreedyRefineLB::totalObjs.
void HbmLB::staticAtSync | ( | void * | data | ) | [static, inherited] |
Definition at line 25 of file HbmLB.C.
References HbmLB::AtSync().
Referenced by HbmLB::HbmLB().
HbmLB::HbmLB | ( | const CkLBOptions & | opt | ) | [inherited] |
Definition at line 32 of file HbmLB.C.
References _lb_args, HbmLB::currentLevel, HbmLB::foundNeighbors, HbmLB::maxCommBytes, HbmLB::maxCommCount, HbmLB::maxCpuLoad, HbmLB::maxLoad, HbmLB::staticAtSync(), HbmLB::staticMigrated(), CkLBArgs::statsOn(), HbmLB::totalLoad, HbmLB::tree, and HbmLB::vector_n_moves.
HbmLB::~HbmLB | ( | ) | [inherited] |
void HbmLB::FindNeighbors | ( | ) | [private, inherited] |
Definition at line 76 of file HbmLB.C.
References HbmLB::LevelData::children, Converse::CkMyPe(), data, HbmLB::foundNeighbors, MyHmbHierarchyTree::getChildren(), MyHmbHierarchyTree::isroot(), level, HbmLB::levelData, HbmLB::LevelData::nChildren, MyHmbHierarchyTree::numChildren(), MyHmbHierarchyTree::numLevels(), MyHmbHierarchyTree::parent(), HbmLB::LevelData::parent, HbmLB::LevelData::statsData, and HbmLB::tree.
Referenced by HbmLB::AtSync(), and HbmLB::ReceiveStats().
void HbmLB::AtSync | ( | void | ) | [inherited] |
Definition at line 105 of file HbmLB.C.
References Converse::CkMyPe(), Converse::CkNumPes(), HbmLB::FindNeighbors(), HbmLB::MigrationDone(), and HbmLB::QueryBalanceNow().
Referenced by HbmLB::staticAtSync().
void HbmLB::ProcessAtSync | ( | void | ) | [inherited] |
Definition at line 122 of file HbmLB.C.
References _lb_args, Converse::CkMyPe(), CkLBArgs::debug(), HbmLB::levelData, HbmLB::myStats, parent(), and HbmLB::start_lb_time.
Definition at line 163 of file HbmLB.C.
References Converse::CkMyPe(), HbmLB::FindNeighbors(), MyHmbHierarchyTree::isroot(), HbmLB::levelData, HbmLB::NeighborIndex(), parent(), HbmLB::LevelData::statsList, and HbmLB::tree.
void HbmLB::Loadbalancing | ( | int | level | ) | [virtual, inherited] |
Definition at line 199 of file HbmLB.C.
References _lb_args, HbmLB::LevelData::children, Converse::CkMyPe(), HbmLB::currentLevel, CkLBArgs::ignoreBgLoad(), int, HbmLB::levelData, HbmLB::LoadbalancingDone(), myabs(), mymax(), HbmLB::start_lb_time, HbmLB::LevelData::statsData, and HbmLB::LevelData::statsList.
void HbmLB::LoadbalancingDone | ( | int | level | ) | [inherited] |
Definition at line 243 of file HbmLB.C.
References Converse::CkMyPe(), HbmLB::levelData, MyHmbHierarchyTree::numLevels(), HbmLB::LevelData::parent, HbmLB::LevelData::statsList, HbmLB::totalLoad, and HbmLB::tree.
Referenced by HbmLB::Loadbalancing(), and HbmLB::NotifyObjectMigrationDone().
Definition at line 261 of file HbmLB.C.
References HbmLB::LevelData::children, HbmLB::levelData, HbmLB::LevelData::nChildren, and HbmLB::ResumeClients().
Definition at line 286 of file HbmLB.C.
References HbmLB::LevelData::children, Converse::CkMyPe(), HbmLB::collectCommData(), CkVec< T >::getVec(), LDObjData::handle, idx, HbmLB::levelData, HbmLB::myStats, HbmLB::LevelData::nChildren, CkVec< T >::push_back(), CkVec< T >::size(), and LDObjData::wallTime.
void HbmLB::collectCommData | ( | int | objIdx, | |
CkVec< LDCommData > & | comms | |||
) | [inherited] |
Definition at line 333 of file HbmLB.C.
References _LDCommData::from_proc(), HbmLB::levelData, HbmLB::myStats, LDObjData::objID(), _LDObjKey::objID(), LDObjData::omID(), _LDObjKey::omID(), CkVec< T >::push_back(), and _LDCommData::sender.
Referenced by HbmLB::ReceiveMigrationDelta().
void HbmLB::ObjMigrated | ( | LDObjData | data, | |
LDCommData * | cdata, | |||
int | n | |||
) | [inherited] |
Definition at line 351 of file HbmLB.C.
References LDObjHandle::handle, LDObjData::handle, HbmLB::levelData, LDObjData::migratable, HbmLB::MigrationDone(), HbmLB::LevelData::migrationDone(), HbmLB::myStats, HbmLB::LevelData::obj_completed, and CkVec< T >::push_back().
Definition at line 381 of file HbmLB.C.
References HbmLB::lbLevel, HbmLB::levelData, HbmLB::LevelData::migrates_expected, HbmLB::MigrationDone(), and HbmLB::LevelData::migrationDone().
void HbmLB::Migrated | ( | LDObjHandle | h, | |
int | waitBarrier | |||
) | [inherited] |
Definition at line 393 of file HbmLB.C.
References Converse::CkMyPe(), HbmLB::levelData, HbmLB::LevelData::migrates_completed, HbmLB::LevelData::migrates_expected, HbmLB::MigrationDone(), HbmLB::LevelData::migrationDone(), HbmLB::newObjs, and CkVec< T >::push_back().
Referenced by CreateLBFunc_Def().
Definition at line 406 of file HbmLB.C.
References Converse::CkMyPe(), HbmLB::lbLevel, HbmLB::levelData, HbmLB::LoadbalancingDone(), HbmLB::LevelData::mig_reported, HbmLB::LevelData::nChildren, and HbmLB::LevelData::parent.
void HbmLB::MigrationDone | ( | int | balancing | ) | [inherited] |
Definition at line 430 of file HbmLB.C.
References Converse::CkMyPe(), HbmLB::LevelData::clear(), count, CkVec< T >::free(), handle, HbmLB::lbLevel, HbmLB::levelData, HbmLB::LevelData::migrates_completed, HbmLB::LevelData::migrates_expected, HbmLB::myStats, HbmLB::newObjs, MyHmbHierarchyTree::numLevels(), HbmLB::LevelData::obj_completed, LDObjHandle::objID(), LDObjHandle::omID(), HbmLB::LevelData::parent, CkVec< T >::size(), and HbmLB::tree.
Referenced by HbmLB::AtSync(), HbmLB::Migrated(), HbmLB::ObjMigrated(), and HbmLB::ReceiveMigrationCount().
void HbmLB::ResumeClients | ( | double | result | ) | [inherited] |
Definition at line 484 of file HbmLB.C.
References _lb_args, Converse::CkMyPe(), and CkLBArgs::printSummary().
Referenced by HbmLB::ReceiveResumeClients().
void HbmLB::ResumeClients | ( | int | balancing | ) | [inherited] |
Definition at line 493 of file HbmLB.C.
References _lb_args, Converse::CkMyPe(), HbmLB::LevelData::clear(), count, CkLBArgs::debug(), LBInfo::getInfo(), LBInfo::getSummary(), info, HbmLB::levelData, HbmLB::myStats, CkLBArgs::printSummary(), HbmLB::start_lb_time, HbmLB::totalLoad, and HbmLB::useMem().
void HbmLB::reportLBQulity | ( | double | mload, | |
double | mCpuLoad, | |||
double | totalload, | |||
int | nmsgs, | |||
double | bytesentry | |||
) | [inherited] |
Definition at line 530 of file HbmLB.C.
References Converse::CkMyPe(), Converse::CkNumPes(), HbmLB::maxCommBytes, HbmLB::maxCommCount, HbmLB::maxCpuLoad, HbmLB::maxLoad, and HbmLB::totalLoad.
void HbmLB::work | ( | LDStats * | stats | ) | [protected, virtual, inherited] |
Definition at line 551 of file HbmLB.C.
References Converse::CkMyPe().
Definition at line 558 of file HbmLB.C.
References HbmLB::levelData.
Referenced by HbmLB::ReceiveStats().
int HbmLB::useMem | ( | ) | [protected, virtual, inherited] |
Definition at line 570 of file HbmLB.C.
References HbmLB::levelData.
Referenced by HbmLB::ResumeClients().
void HybridBaseLB::staticMigrated | ( | void * | me, | |
LDObjHandle | h, | |||
int | waitBarrier | |||
) | [static, inherited] |
Definition at line 23 of file HybridBaseLB.C.
References HybridBaseLB::Migrated().
Referenced by HybridBaseLB::HybridBaseLB().
void HybridBaseLB::staticAtSync | ( | void * | data | ) | [static, inherited] |
Definition at line 30 of file HybridBaseLB.C.
References HybridBaseLB::AtSync(), and CkSetInLdb().
Referenced by HybridBaseLB::HybridBaseLB().
HybridBaseLB::HybridBaseLB | ( | const CkLBOptions & | opt | ) | [inherited] |
Definition at line 40 of file HybridBaseLB.C.
References _lb_args, Converse::CkMyPe(), Converse::CkNumPes(), HybridBaseLB::currentLevel, HybridBaseLB::foundNeighbors, HybridBaseLB::FULL, HybridBaseLB::future_migrates_expected, HybridBaseLB::group1_created, HybridBaseLB::maxCommBytes, HybridBaseLB::maxCommCount, HybridBaseLB::maxCpuLoad, HybridBaseLB::maxLoad, HybridBaseLB::maxMem, MyHierarchyTree::name(), quietModeRequested, HybridBaseLB::SHRINK, HybridBaseLB::staticAtSync(), HybridBaseLB::staticMigrated(), CkLBArgs::statsOn(), HybridBaseLB::statsStrategy, HybridBaseLB::totalLoad, HybridBaseLB::tree, and HybridBaseLB::vector_n_moves.
void HybridBaseLB::initTree | ( | ) | [protected, inherited] |
Definition at line 90 of file HybridBaseLB.C.
References Converse::CkMyPe(), CmiEstablishGroup(), MyHierarchyTree::getChildren(), HybridBaseLB::group1, HybridBaseLB::group1_created, MyHierarchyTree::isroot(), npes, MyHierarchyTree::numChildren(), and HybridBaseLB::tree.
HybridBaseLB::~HybridBaseLB | ( | ) | [inherited] |
void HybridBaseLB::FindNeighbors | ( | ) | [private, inherited] |
Definition at line 124 of file HybridBaseLB.C.
References HybridBaseLB::LevelData::children, Converse::CkMyPe(), data, HybridBaseLB::foundNeighbors, MyHierarchyTree::getChildren(), MyHierarchyTree::isroot(), level, HybridBaseLB::levelData, HybridBaseLB::LevelData::nChildren, MyHierarchyTree::numChildren(), MyHierarchyTree::numLevels(), MyHierarchyTree::parent(), HybridBaseLB::LevelData::parent, HybridBaseLB::LevelData::statsData, HybridBaseLB::LevelData::statsMsgsList, and HybridBaseLB::tree.
Referenced by HybridBaseLB::AtSync(), HybridBaseLB::ReceiveMigration(), HybridBaseLB::ReceiveStats(), and HybridBaseLB::ReceiveVectorMigration().
void HybridBaseLB::AtSync | ( | void | ) | [inherited] |
Definition at line 156 of file HybridBaseLB.C.
References Converse::CkMyPe(), Converse::CkNumPes(), HybridBaseLB::FindNeighbors(), HybridBaseLB::MigrationDone(), and HybridBaseLB::QueryBalanceNow().
Referenced by HybridBaseLB::staticAtSync().
void HybridBaseLB::ProcessAtSync | ( | void | ) | [inherited] |
Definition at line 173 of file HybridBaseLB.C.
References _lb_args, HybridBaseLB::AssembleStats(), Converse::CkMyPe(), CkLBArgs::debug(), HybridBaseLB::levelData, msg, and HybridBaseLB::start_lb_time.
CLBStatsMsg * HybridBaseLB::AssembleStats | ( | ) | [protected, virtual, inherited] |
Definition at line 197 of file HybridBaseLB.C.
References CLBStatsMsg::bg_cputime, CLBStatsMsg::bg_walltime, Converse::CkMyPe(), CLBStatsMsg::commData, CLBStatsMsg::from_pe, CLBStatsMsg::idletime, msg, CLBStatsMsg::n_comm, CLBStatsMsg::n_objs, CLBStatsMsg::objData, CLBStatsMsg::pe_speed, CLBStatsMsg::total_cputime, and CLBStatsMsg::total_walltime.
Referenced by HybridBaseLB::ProcessAtSync().
void HybridBaseLB::ReceiveStats | ( | CkMarshalledCLBStatsMessage && | m, | |
int | fromlevel | |||
) | [inherited] |
Definition at line 230 of file HybridBaseLB.C.
References HybridBaseLB::buildCombinedLBStatsMessage(), HybridBaseLB::buildStats(), Converse::CkMyPe(), data, HybridBaseLB::depositLBStatsMessage(), HybridBaseLB::FindNeighbors(), MyHierarchyTree::isroot(), HybridBaseLB::levelData, PUP::m, parent(), and HybridBaseLB::tree.
void HybridBaseLB::depositLBStatsMessage | ( | CLBStatsMsg * | msg, | |
int | atlevel | |||
) | [private, inherited] |
Definition at line 271 of file HybridBaseLB.C.
References CLBStatsMsg::bg_cputime, CLBStatsMsg::bg_walltime, CLBStatsMsg::commData, CLBStatsMsg::from_pe, _LDCommData::from_proc(), _LDCommDesc::get_type(), CLBStatsMsg::idletime, HybridBaseLB::levelData, CLBStatsMsg::n_comm, CLBStatsMsg::n_objs, HybridBaseLB::NeighborIndex(), CLBStatsMsg::pe_speed, _LDCommData::receiver, _LDCommDesc::setProc(), _LDCommData::src_proc, CLBStatsMsg::total_cputime, and CLBStatsMsg::total_walltime.
Referenced by HybridBaseLB::ReceiveStats().
void HybridBaseLB::buildStats | ( | int | level | ) | [private, inherited] |
Definition at line 313 of file HybridBaseLB.C.
References _lb_args, Converse::CkMyPe(), CmiPrintf(), CLBStatsMsg::commData, CkLBArgs::debug(), CLBStatsMsg::from_pe, HybridBaseLB::levelData, LDObjData::migratable, msg, n, CLBStatsMsg::n_comm, CLBStatsMsg::n_objs, HybridBaseLB::NeighborIndex(), CLBStatsMsg::objData, HybridBaseLB::LevelData::stats_msg_count, HybridBaseLB::LevelData::statsData, and HybridBaseLB::LevelData::statsMsgsList.
Referenced by HybridBaseLB::ReceiveStats().
CLBStatsMsg * HybridBaseLB::buildCombinedLBStatsMessage | ( | int | atlevel | ) | [private, inherited] |
Definition at line 362 of file HybridBaseLB.C.
References CLBStatsMsg::bg_cputime, CLBStatsMsg::bg_walltime, Converse::CkMyPe(), CLBStatsMsg::commData, CLBStatsMsg::from_pe, _LDCommData::from_proc(), _LDCommDesc::get_type(), CLBStatsMsg::idletime, HybridBaseLB::levelData, CLBStatsMsg::n_comm, CLBStatsMsg::n_objs, MyHierarchyTree::numLevels(), CLBStatsMsg::objData, CLBStatsMsg::pe_speed, _LDCommData::receiver, _LDCommDesc::setProc(), HybridBaseLB::SHRINK, HybridBaseLB::SHRINK_NULL, _LDCommData::src_proc, HybridBaseLB::statsStrategy, CLBStatsMsg::total_cputime, CLBStatsMsg::total_walltime, and HybridBaseLB::tree.
Referenced by HybridBaseLB::ReceiveStats().
void HybridBaseLB::Loadbalancing | ( | int | level | ) | [virtual, inherited] |
Definition at line 468 of file HybridBaseLB.C.
References _lb_args, Converse::CkMyPe(), HybridBaseLB::currentLevel, CkLBArgs::debug(), CkVec< T >::getVec(), HybridBaseLB::group1, HybridBaseLB::group1_created, CkLBArgs::ignoreBgLoad(), MyHierarchyTree::isroot(), HybridBaseLB::levelData, MyHierarchyTree::numLevels(), HybridBaseLB::SHRINK, HybridBaseLB::SHRINK_NULL, CkVec< T >::size(), HybridBaseLB::start_lb_time, HybridBaseLB::statsStrategy, HybridBaseLB::Strategy(), HybridBaseLB::tree, HybridBaseLB::useMem(), and HybridBaseLB::VectorStrategy().
LBMigrateMsg * HybridBaseLB::Strategy | ( | LDStats * | stats | ) | [protected, virtual, inherited] |
Definition at line 539 of file HybridBaseLB.C.
References _lb_args, HybridBaseLB::createMigrateMsg(), CkLBArgs::debug(), and HybridBaseLB::work().
Referenced by HybridBaseLB::Loadbalancing(), and HybridBaseLB::Strategy().
void HybridBaseLB::ReceiveMigration | ( | LBMigrateMsg * | msg | ) | [inherited] |
Definition at line 558 of file HybridBaseLB.C.
References HybridBaseLB::LevelData::children, Converse::CkMyPe(), CkResetInLdb(), HybridBaseLB::collectCommData(), HybridBaseLB::FindNeighbors(), MigrateInfo::from_pe, CkVec< T >::getVec(), LBMigrateMsg::level, HybridBaseLB::levelData, HybridBaseLB::LevelData::migrates_expected, HybridBaseLB::LevelData::migrationDone(), LBMigrateMsg::moves, LBMigrateMsg::n_moves, MigrateInfo::obj, LDObjHandle::objID(), LDObjHandle::omID(), HybridBaseLB::LevelData::outObjs, CkVec< T >::size(), HybridBaseLB::LevelData::statsData, HybridBaseLB::StatsDone(), and MigrateInfo::to_pe.
LBVectorMigrateMsg * HybridBaseLB::VectorStrategy | ( | LDStats * | stats | ) | [protected, virtual, inherited] |
Definition at line 631 of file HybridBaseLB.C.
References HybridBaseLB::LevelData::children, HybridBaseLB::currentLevel, VectorMigrateInfo::from_pe, LBVectorMigrateMsg::level, HybridBaseLB::levelData, LBVectorMigrateMsg::moves, msg, LBVectorMigrateMsg::n_moves, HybridBaseLB::SHRINK_NULL, HybridBaseLB::statsStrategy, and VectorMigrateInfo::to_pe.
Referenced by HybridBaseLB::Loadbalancing().
void HybridBaseLB::ReceiveVectorMigration | ( | LBVectorMigrateMsg * | msg | ) | [inherited] |
Definition at line 658 of file HybridBaseLB.C.
References _lb_args, Converse::CkMyPe(), count, CkLBArgs::debug(), HybridBaseLB::FindNeighbors(), VectorMigrateInfo::from_pe, HybridBaseLB::GetObjsToMigrate(), CkVec< T >::getVec(), LBVectorMigrateMsg::level, HybridBaseLB::levelData, VectorMigrateInfo::load, HybridBaseLB::LevelData::migrationDone(), LBVectorMigrateMsg::moves, LBVectorMigrateMsg::n_moves, HybridBaseLB::ObjsMigrated(), CkVec< T >::size(), HybridBaseLB::LevelData::statsData, HybridBaseLB::StatsDone(), VectorMigrateInfo::to_pe, HybridBaseLB::LevelData::vector_expected, HybridBaseLB::VectorDone(), and HybridBaseLB::LevelData::vectorReceived().
void HybridBaseLB::GetObjsToMigrate | ( | int | toPe, | |
double | load, | |||
LDStats * | stats, | |||
int | atlevel, | |||
CkVec< LDCommData > & | comms, | |||
CkVec< LDObjData > & | objs | |||
) | [virtual, inherited] |
Definition at line 707 of file HybridBaseLB.C.
References _lb_args, Converse::CkMyPe(), HybridBaseLB::collectCommData(), HybridBaseLB::CreateMigrationOutObjs(), CkLBArgs::debug(), LDObjData::migratable, CkVec< T >::push_back(), and LDObjData::wallTime.
Referenced by HybridBaseLB::ReceiveVectorMigration().
Definition at line 729 of file HybridBaseLB.C.
References HybridBaseLB::LevelData::children, LDObjData::handle, HybridBaseLB::levelData, and HybridBaseLB::LevelData::outObjs.
Referenced by HybridBaseLB::GetObjsToMigrate().
void HybridBaseLB::ObjsMigrated | ( | CkVec< LDObjData > && | data, | |
int | m, | |||
LDCommData * | cdata, | |||
int | n, | |||
int | level | |||
) | [inherited] |
Definition at line 738 of file HybridBaseLB.C.
References data, key, HybridBaseLB::levelData, LDObjData::migratable, HybridBaseLB::LevelData::migrationDone(), HybridBaseLB::LevelData::nChildren, HybridBaseLB::newObjs, HybridBaseLB::LevelData::obj_completed, LDObjData::objID(), _LDObjKey::objID(), LDObjData::omID(), _LDObjKey::omID(), CkVec< T >::push_back(), HybridBaseLB::LevelData::statsData, and HybridBaseLB::StatsDone().
Referenced by HybridBaseLB::ReceiveVectorMigration().
void HybridBaseLB::VectorDone | ( | int | atlevel | ) | [inherited] |
Definition at line 786 of file HybridBaseLB.C.
References _lb_args, Converse::CkMyPe(), CkLBArgs::debug(), HybridBaseLB::levelData, HybridBaseLB::LevelData::migrates_expected, HybridBaseLB::LevelData::vector_completed, HybridBaseLB::LevelData::vector_expected, and HybridBaseLB::vector_n_moves.
Referenced by HybridBaseLB::ReceiveVectorMigration(), and HybridBaseLB::TotalObjMigrated().
Definition at line 799 of file HybridBaseLB.C.
References _lb_args, Converse::CkMyPe(), CkLBArgs::debug(), HybridBaseLB::levelData, HybridBaseLB::LevelData::migrationDone(), HybridBaseLB::StatsDone(), HybridBaseLB::LevelData::vector_completed, HybridBaseLB::vector_n_moves, HybridBaseLB::VectorDone(), and HybridBaseLB::LevelData::vectorReceived().
void HybridBaseLB::Migrated | ( | LDObjHandle | h, | |
int | waitBarrier | |||
) | [inherited] |
Definition at line 813 of file HybridBaseLB.C.
References Converse::CkMyPe(), HybridBaseLB::levelData, HybridBaseLB::LevelData::migrates_completed, HybridBaseLB::LevelData::migrates_expected, HybridBaseLB::MigrationDone(), HybridBaseLB::LevelData::migrationDone(), HybridBaseLB::LevelData::resumeAfterMigration, and HybridBaseLB::StatsDone().
Referenced by HybridBaseLB::staticMigrated().
void HybridBaseLB::collectCommData | ( | int | objIdx, | |
CkVec< LDCommData > & | comm, | |||
int | atlevel | |||
) | [protected, inherited] |
Definition at line 831 of file HybridBaseLB.C.
References _LDCommData::from_proc(), HybridBaseLB::levelData, LDObjData::objID(), _LDObjKey::objID(), LDObjData::omID(), _LDObjKey::omID(), CkVec< T >::push_back(), _LDCommData::sender, and HybridBaseLB::LevelData::statsData.
Referenced by HybridBaseLB::GetObjsToMigrate(), and HybridBaseLB::ReceiveMigration().
void HybridBaseLB::ObjMigrated | ( | LDObjData | data, | |
LDCommData * | cdata, | |||
int | n, | |||
int | level | |||
) | [inherited] |
Definition at line 847 of file HybridBaseLB.C.
References key, HybridBaseLB::levelData, LDObjData::migratable, HybridBaseLB::LevelData::migrationDone(), HybridBaseLB::LevelData::nChildren, HybridBaseLB::newObjs, HybridBaseLB::LevelData::obj_completed, LDObjData::objID(), _LDObjKey::objID(), LDObjData::omID(), _LDObjKey::omID(), CkVec< T >::push_back(), HybridBaseLB::LevelData::statsData, and HybridBaseLB::StatsDone().
void HybridBaseLB::StatsDone | ( | int | level | ) | [inherited] |
Definition at line 887 of file HybridBaseLB.C.
References HybridBaseLB::levelData, HybridBaseLB::LevelData::migrates_completed, HybridBaseLB::LevelData::migrates_expected, HybridBaseLB::LevelData::obj_completed, HybridBaseLB::LevelData::obj_expected, and HybridBaseLB::LevelData::parent.
Referenced by HybridBaseLB::Migrated(), HybridBaseLB::ObjMigrated(), HybridBaseLB::ObjsMigrated(), HybridBaseLB::ReceiveMigration(), HybridBaseLB::ReceiveVectorMigration(), and HybridBaseLB::TotalObjMigrated().
void HybridBaseLB::NotifyObjectMigrationDone | ( | int | level | ) | [inherited] |
Definition at line 902 of file HybridBaseLB.C.
References _lb_args, HybridBaseLB::LevelData::children, Converse::CkMyPe(), CkPriorityPtr(), CkSetQueueing(), CkLBArgs::debug(), int, HybridBaseLB::levelData, PUP::m, HybridBaseLB::LevelData::mig_reported, and HybridBaseLB::LevelData::nChildren.
void HybridBaseLB::StartCollectInfo | ( | DummyMsg * | m | ) | [inherited] |
Definition at line 930 of file HybridBaseLB.C.
References Converse::CkMyPe(), count, Location::key, key, HybridBaseLB::levelData, Location::loc, HybridBaseLB::newObjs, _LDObjKey::objID(), _LDObjKey::omID(), HybridBaseLB::LevelData::outObjs, HybridBaseLB::LevelData::parent, HybridBaseLB::LevelData::resumeAfterMigration, and CkVec< T >::size().
Definition at line 963 of file HybridBaseLB.C.
References _lb_args, HybridBaseLB::LevelData::children, Converse::CkMyPe(), CkLBArgs::debug(), CkVec< T >::getVec(), HybridBaseLB::LevelData::info_recved, Location::key, key, HybridBaseLB::levelData, Location::loc, HybridBaseLB::LevelData::matchedObjs, HybridBaseLB::LevelData::nChildren, HybridBaseLB::LevelData::parent, CkVec< T >::push_back(), CkVec< T >::size(), HybridBaseLB::LevelData::statsData, and HybridBaseLB::LevelData::unmatchedObjs.
Definition at line 1032 of file HybridBaseLB.C.
References _lb_args, HybridBaseLB::LevelData::children, Converse::CkMyPe(), CkLBArgs::debug(), CkVec< T >::free(), HybridBaseLB::future_migrates_expected, CkVec< T >::getVec(), handle, Location::key, key, HybridBaseLB::levelData, Location::loc, HybridBaseLB::LevelData::matchedObjs, HybridBaseLB::LevelData::migrates_expected, HybridBaseLB::MigrationDone(), HybridBaseLB::LevelData::migrationDone(), HybridBaseLB::LevelData::nChildren, HybridBaseLB::newObjs, _LDObjKey::objID(), HybridBaseLB::LevelData::outObjs, CkVec< T >::push_back(), CkVec< T >::size(), HybridBaseLB::LevelData::statsData, and HybridBaseLB::LevelData::unmatchedObjs.
void HybridBaseLB::MigrationDone | ( | int | balancing | ) | [inherited] |
Definition at line 1128 of file HybridBaseLB.C.
References _lb_args, cb, Converse::CkMyPe(), CkVec< T >::free(), HybridBaseLB::levelData, CkReduction::max_double, HybridBaseLB::maxLoad, HybridBaseLB::newObjs, MyHierarchyTree::numLevels(), HybridBaseLB::ResumeClients(), CkLBArgs::syncResume(), and HybridBaseLB::tree.
Referenced by HybridBaseLB::AtSync(), HybridBaseLB::Migrated(), and HybridBaseLB::PropagateInfo().
void HybridBaseLB::ResumeClients | ( | double | result | ) | [inherited] |
Definition at line 1155 of file HybridBaseLB.C.
Referenced by HybridBaseLB::MigrationDone().
void HybridBaseLB::ResumeClients | ( | int | balancing | ) | [inherited] |
Definition at line 1166 of file HybridBaseLB.C.
References _lb_args, Converse::CkMyPe(), CkLBArgs::debug(), and HybridBaseLB::start_lb_time.
void HybridBaseLB::work | ( | LDStats * | stats | ) | [protected, virtual, inherited] |
Definition at line 1186 of file HybridBaseLB.C.
References Converse::CkMyPe().
Referenced by HybridBaseLB::Strategy().
LBMigrateMsg * HybridBaseLB::createMigrateMsg | ( | LDStats * | stats | ) | [protected, virtual, inherited] |
Definition at line 1193 of file HybridBaseLB.C.
References _lb_args, MigrateInfo::async_arrival, LDObjData::asyncArrival, HybridBaseLB::LevelData::children, Converse::CkMyPe(), HybridBaseLB::currentLevel, MigrateInfo::from_pe, LDObjData::handle, CkVec< T >::insertAtEnd(), CkVec< T >::length(), LBMigrateMsg::level, HybridBaseLB::levelData, LBMigrateMsg::moves, msg, LBMigrateMsg::n_moves, HybridBaseLB::LevelData::nChildren, MigrateInfo::obj, LDObjHandle::objID(), HybridBaseLB::LevelData::outObjs, HybridBaseLB::printSummary(), CkLBArgs::printSummary(), CkVec< T >::size(), and MigrateInfo::to_pe.
Referenced by HybridBaseLB::Strategy().
LBMigrateMsg * HybridBaseLB::createMigrateMsg | ( | CkVec< MigrateInfo * > & | migrateInfo, | |
int | count | |||
) | [protected, inherited] |
Definition at line 1288 of file HybridBaseLB.C.
References _lb_args, HybridBaseLB::currentLevel, MigrateInfo::from_pe, CkVec< T >::insertAtEnd(), CkVec< T >::length(), LBMigrateMsg::level, HybridBaseLB::levelData, LBMigrateMsg::moves, msg, LBMigrateMsg::n_moves, MigrateInfo::obj, HybridBaseLB::LevelData::outObjs, HybridBaseLB::printSummary(), CkLBArgs::printSummary(), CkVec< T >::size(), and MigrateInfo::to_pe.
Definition at line 1320 of file HybridBaseLB.C.
References HybridBaseLB::levelData.
Referenced by HybridBaseLB::buildStats(), and HybridBaseLB::depositLBStatsMessage().
void HybridBaseLB::printSummary | ( | LDStats * | stats, | |
int | count | |||
) | [protected, inherited] |
Definition at line 1332 of file HybridBaseLB.C.
References Converse::CkMyPe(), HybridBaseLB::currentLevel, LBInfo::getInfo(), LBInfo::getSummary(), info, MyHierarchyTree::numLevels(), HybridBaseLB::totalLoad, HybridBaseLB::tree, and HybridBaseLB::useMem().
Referenced by HybridBaseLB::createMigrateMsg().
void HybridBaseLB::reportLBQulity | ( | double | mload, | |
double | mCpuLoad, | |||
double | totalload, | |||
int | nmsgs, | |||
double | bytesentry | |||
) | [inherited] |
Definition at line 1356 of file HybridBaseLB.C.
References Converse::CkMyPe(), HybridBaseLB::maxCommBytes, HybridBaseLB::maxCommCount, HybridBaseLB::maxCpuLoad, HybridBaseLB::maxLoad, MyHierarchyTree::numNodes(), HybridBaseLB::totalLoad, and HybridBaseLB::tree.
void HybridBaseLB::reportLBMem | ( | double | mem | ) | [inherited] |
Definition at line 1378 of file HybridBaseLB.C.
References Converse::CkMyPe(), HybridBaseLB::maxMem, MyHierarchyTree::numLevels(), MyHierarchyTree::numNodes(), and HybridBaseLB::tree.
int HybridBaseLB::useMem | ( | ) | [protected, virtual, inherited] |
Definition at line 1391 of file HybridBaseLB.C.
References HybridBaseLB::levelData, HybridBaseLB::newObjs, and CkVec< T >::size().
Referenced by HybridBaseLB::Loadbalancing(), and HybridBaseLB::printSummary().
HybridLB::~HybridLB | ( | ) | [inherited] |
void HybridLB::work | ( | LDStats * | stats | ) | [protected, virtual, inherited] |
Definition at line 52 of file HybridLB.C.
References HybridLB::greedy, HybridLB::refine, and CentralLB::work().
LBCommData * LBCommTable::HashInsert | ( | const LBCommData & | data | ) | [inherited] |
Definition at line 28 of file LBComm.C.
References CmiPrintf(), LBCommTable::cur_sz, LBCommData::hash(), LBCommTable::in_use, LBCommTable::InUse, LBCommTable::nil, LBCommTable::Resize(), and LBCommTable::state.
Referenced by LBCommTable::HashInsertUnique(), and LBCommTable::Resize().
LBCommData * LBCommTable::HashSearch | ( | const LBCommData & | data | ) | [inherited] |
Definition at line 51 of file LBComm.C.
References LBCommTable::cur_sz, LBCommData::hash(), LBCommTable::nil, and LBCommTable::state.
Referenced by LBCommTable::HashInsertUnique().
LBCommData * LBCommTable::HashInsertUnique | ( | const LBCommData & | data | ) | [inherited] |
Definition at line 65 of file LBComm.C.
References LBCommTable::HashInsert(), and LBCommTable::HashSearch().
Referenced by LBDB::MulticastSend(), and LBDB::Send().
void LBCommTable::Resize | ( | ) | [private, inherited] |
Definition at line 74 of file LBComm.C.
References LBCommTable::cur_sz, LBCommTable::HashInsert(), LBCommTable::InUse, LBCommTable::NewTable(), and LBCommTable::state.
Referenced by LBCommTable::HashInsert().
bool LBCommData::equal | ( | const LBCommData & | _d2 | ) | const [inherited] |
Definition at line 89 of file LBComm.C.
References LBCommData::destObj, LBCommData::from_proc(), LDObjHandle::objID(), LDObjHandle::omID(), LBCommData::src_proc, and LBCommData::srcObj.
int LBCommData::compute_key | ( | ) | [private, inherited] |
Definition at line 102 of file LBComm.C.
References LBCommData::destObj, LBCommData::from_proc(), _LDCommDesc::get_destObj(), _LDCommDesc::get_destObjs(), _LDCommDesc::get_type(), LDObjHandle::id, _LDOMid::id, idx, _ckGroupID::idx, len, _LDObjKey::objID(), _LDObjKey::omID(), LDObjHandle::omID(), _LDCommDesc::proc(), LBCommData::src_proc, and LBCommData::srcObj.
Referenced by LBCommData::LBCommData().
Definition at line 149 of file LBComm.C.
References PUP::a, int, and LBCommData::key().
Referenced by LBCommTable::HashInsert(), and LBCommTable::HashSearch().
void LBCommTable::GetCommData | ( | LDCommData * | data | ) | [inherited] |
Definition at line 163 of file LBComm.C.
References _LDCommData::bytes, _LDCommData::clearHash(), LBCommTable::cur_sz, _LDCommDesc::destObj, LBCommTable::InUse, _LDCommData::messages, _LDObjKey::objID(), _LDObjKey::omID(), _LDCommData::receiver, _LDCommData::sender, _LDCommData::src_proc, and LBCommTable::state.
Referenced by LBDB::GetCommData().
void LBCommTable::GetCommInfo | ( | int & | bytes, | |
int & | msgs, | |||
int & | withinpebytes, | |||
int & | outsidepebytes, | |||
int & | num_nghbor, | |||
int & | hops, | |||
int & | hopbytes | |||
) | [inherited] |
Definition at line 194 of file LBComm.C.
References Converse::CkMyPe(), Converse::CkNumPes(), LBCommTable::cur_sz, h, LBCommTable::InUse, LBCommTable::state, and TopoManager_getHopsBetweenPeRanks().
Referenced by LBDB::GetCommInfo().
LBDBInit::LBDBInit | ( | CkArgMsg * | m | ) | [inherited] |
Definition at line 123 of file LBDatabase.C.
References CmiPrintf(), LBDBRegistry::compile_lbs, createLoadBalancer(), LBSimulation::doSimulation, LBDBRegistry::runtime_lbs, and CkVec< T >::size().
void LBDatabase::initnodeFn | ( | void | ) | [static, inherited] |
Definition at line 367 of file LBDatabase.C.
References _expectedLoad, _registerCommandLineOpt(), LBDatabase::avail_vector, avail_vector_lock, Converse::CkNumPes(), and CmiCreateLock().
void LBDatabase::init | ( | void | ) | [private, inherited] |
Definition at line 413 of file LBDatabase.C.
References LDCreate(), LBDatabase::manualOn, LBDatabase::metabalancer, LBDatabase::myLDHandle, LBDatabase::mystep, LBDatabase::new_ld_balancer, LBDatabase::nloadbalancers, and LBDatabase::TurnManualLBOn().
Referenced by LBDatabase::LBDatabase().
LBDatabase::LastLBInfo::LastLBInfo | ( | ) | [inherited] |
Definition at line 427 of file LBDatabase.C.
References _expectedLoad, and LBDatabase::LastLBInfo::expectedLoad.
void LBDatabase::get_avail_vector | ( | char * | bitmap | ) | [inherited] |
Definition at line 432 of file LBDatabase.C.
References LBDatabase::avail_vector, and Converse::CkNumPes().
Referenced by CentralLB::ApplyDecision(), CentralLB::BuildStatsMsg(), get_avail_vector(), and handler().
void LBDatabase::set_avail_vector | ( | char * | bitmap, | |
int | new_ld = -1 | |||
) | [inherited] |
Definition at line 443 of file LBDatabase.C.
References LBDatabase::avail_vector, Converse::CkNumPes(), count, and LBDatabase::new_ld_balancer.
Referenced by handler(), CentralLB::ProcessReceiveMigration(), CentralLB::ReceiveStats(), and set_avail_vector().
int LBDatabase::getLoadbalancerTicket | ( | ) | [inherited] |
Definition at line 465 of file LBDatabase.C.
References LBDatabase::loadbalancers, LBDatabase::nloadbalancers, and CkVec< T >::resize().
Referenced by BaseLB::pup().
Definition at line 473 of file LBDatabase.C.
References Converse::CkMyPe(), CmiAbort(), CmiPrintf(), LBDatabase::loadbalancers, LBDatabase::nloadbalancers, and CkVec< T >::resize().
Referenced by BaseLB::initLB().
void LBDatabase::nextLoadbalancer | ( | int | seq | ) | [inherited] |
Definition at line 490 of file LBDatabase.C.
References LBDatabase::loadbalancers, CkLBArgs::loop(), and LBDatabase::nloadbalancers.
Definition at line 507 of file LBDatabase.C.
References LBDatabase::loadbalancers.
Referenced by MetaBalancer::MetaLBSetLBOnChares().
const char * LBDatabase::loadbalancer | ( | int | seq | ) | [inherited] |
Definition at line 518 of file LBDatabase.C.
References LBDBRegistry::compile_lbs, CkVec< T >::length(), and LBDBRegistry::runtime_lbs.
void LBDatabase::pup | ( | PUP::er & | p | ) | [virtual, inherited] |
Pack/UnPack - tell the runtime how to serialize this class's data for migration, checkpoint, etc.
Reimplemented from IrrGroup.
Definition at line 529 of file LBDatabase.C.
References _metalb, LBDatabase::avail_vector, avail_vector_lock, LBDatabase::avail_vector_set, CkLocalBranch(), Converse::CkNumPes(), CmiLock(), CmiUnlock(), PUP::er::isUnpacking(), LBDatabase::metabalancer, CkLBArgs::metaLbOn(), LBDatabase::mystep, LBDatabase::nloadbalancers, p, and IrrGroup::pup().
void LBDatabase::EstObjLoad | ( | const LDObjHandle & | h, | |
double | cpuload | |||
) | [inherited] |
Definition at line 569 of file LBDatabase.C.
References LDHandle::handle, LBDB::LbObj(), LDOMHandle::ldb, LDObjHandle::omhandle, and LBObj::setTiming().
Referenced by CkLocRec::setObjTime().
void LBDatabase::ResetAdaptive | ( | ) | [inherited] |
Definition at line 580 of file LBDatabase.C.
References _metalb, LBDatabase::metabalancer, CkLBArgs::metaLbOn(), and MetaBalancer::ResetAdaptive().
void LBDatabase::ResumeClients | ( | void | ) | [inherited] |
Definition at line 593 of file LBDatabase.C.
References _metalb, LDResumeClients(), LBDatabase::metabalancer, CkLBArgs::metaLbOn(), LBDatabase::myLDHandle, and MetaBalancer::ResumeClients().
void LBDatabase::SetMigrationCost | ( | double | cost | ) | [inherited] |
Definition at line 607 of file LBDatabase.C.
References _metalb, CkLocalBranch(), LBDatabase::metabalancer, CkLBArgs::metaLbOn(), and MetaBalancer::SetMigrationCost().
void LBDatabase::SetStrategyCost | ( | double | cost | ) | [inherited] |
Definition at line 620 of file LBDatabase.C.
References _metalb, CkLocalBranch(), LBDatabase::metabalancer, CkLBArgs::metaLbOn(), and MetaBalancer::SetStrategyCost().
void LBDatabase::UpdateDataAfterLB | ( | double | mLoad, | |
double | mCpuLoad, | |||
double | avgLoad | |||
) | [inherited] |
Definition at line 633 of file LBDatabase.C.
References _metalb, CkLocalBranch(), LBDatabase::metabalancer, CkLBArgs::metaLbOn(), and MetaBalancer::UpdateAfterLBData().
void LBDB::batsyncer::gotoSync | ( | void * | bs | ) | [static, private, inherited] |
Definition at line 21 of file LBDBManager.C.
References LBDB::AtLocalBarrier(), LBDB::batsyncer::BH, LBDB::batsyncer::db, LBDB::batsyncer::gotoSyncCalled, and PUP::s.
Referenced by LBDB::batsyncer::resumeFromSync().
void LBDB::batsyncer::resumeFromSync | ( | void * | bs | ) | [static, private, inherited] |
Definition at line 28 of file LBDBManager.C.
References CcdCallFnAfterOnPE(), Converse::CkMyPe(), CmiWallTimer(), LBDB::batsyncer::gotoSync(), LBDB::batsyncer::gotoSyncCalled, LBDB::batsyncer::nextT, LBDB::batsyncer::period, and PUP::s.
Referenced by LBDB::batsyncer::init().
void LBDB::batsyncer::init | ( | LBDB * | _db, | |
double | initPeriod | |||
) | [inherited] |
Definition at line 46 of file LBDBManager.C.
References LBDB::AddLocalBarrierClient(), LBDB::batsyncer::BH, CmiWallTimer(), LBDB::batsyncer::db, LBDB::batsyncer::gotoSyncCalled, LBDB::batsyncer::nextT, LBDB::batsyncer::period, and LBDB::batsyncer::resumeFromSync().
Referenced by LBDB::LBDB().
LBDB::LBDB | ( | ) | [inherited] |
Definition at line 62 of file LBDBManager.C.
References _lb_args, LBDB::batsync, LBDB::commTable, LBDB::batsyncer::init(), CkLBArgs::lbperiod(), LBDB::obj_cputime, LBDB::obj_running, LBDB::obj_walltime, LBDB::objsEmptyHead, LBDB::omCount, LBDB::oms_registering, LBDB::predictCBFn, LBDB::startLBFn_count, and LBDB::statsAreOn.
LDOMHandle LBDB::AddOM | ( | LDOMid | _userID, | |
void * | _userData, | |||
LDCallbacks | _callbacks | |||
) | [inherited] |
Definition at line 78 of file LBDBManager.C.
References LBOM::DepositHandle(), LDOMHandle::handle, LDHandle::handle, LDOMHandle::id, CkVec< T >::insertAtEnd(), LDOMHandle::ldb, CkVec< T >::length(), LBDB::omCount, and LBDB::oms.
Referenced by LDRegisterOM().
void LBDB::RemoveOM | ( | LDOMHandle | om | ) | [inherited] |
Definition at line 97 of file LBDBManager.C.
References LDOMHandle::handle, LBDB::omCount, and LBDB::oms.
Referenced by LDUnregisterOM().
LDObjHandle LBDB::AddObj | ( | LDOMHandle | _h, | |
CmiUInt8 | _id, | |||
void * | _userData, | |||
bool | _migratable | |||
) | [inherited] |
Definition at line 109 of file LBDBManager.C.
References _BgOutOfCoreFlag, LDObjHandle::handle, LDObjHandle::id, LBDB::objs, LBDB::objsEmptyHead, and LDObjHandle::omhandle.
Referenced by LDRegisterObj().
void LBDB::UnregisterObj | ( | LDObjHandle | _h | ) | [inherited] |
Definition at line 167 of file LBDBManager.C.
References _BgOutOfCoreFlag, LDObjHandle::handle, LBDB::objs, and LBDB::objsEmptyHead.
Referenced by LDUnregisterObj().
void LBDB::RegisteringObjects | ( | LDOMHandle | _h | ) | [inherited] |
Definition at line 191 of file LBDBManager.C.
References LDOMHandle::handle, _LDOMid::id, LDOMHandle::id, _ckGroupID::idx, LBDB::localBarrier, LBDB::oms, LBDB::oms_registering, LBOM::RegisteringObjs(), LBOM::SetRegisteringObjs(), and LocalBarrier::TurnOff().
Referenced by LDRegisteringObjects().
void LBDB::DoneRegisteringObjects | ( | LDOMHandle | _h | ) | [inherited] |
Definition at line 210 of file LBDBManager.C.
References LDOMHandle::handle, _LDOMid::id, LDOMHandle::id, _ckGroupID::idx, LBDB::localBarrier, LBDB::oms, LBDB::oms_registering, LBOM::RegisteringObjs(), LBOM::SetRegisteringObjs(), LocalBarrier::TurnOn(), and LBDB::useBarrier.
Referenced by LDDoneRegisteringObjects().
void LBDB::Send | ( | const LDOMHandle & | destOM, | |
const CmiUInt8 & | destid, | |||
unsigned int | bytes, | |||
int | destObjProc | |||
) | [inherited] |
Definition at line 230 of file LBDBManager.C.
References LBCommData::addMessage(), Converse::CkMyPe(), LBDB::commTable, LBCommTable::HashInsertUnique(), LDObjHandle::id, LDOMHandle::id, LDOMidEqual(), LBDB::obj_running, LDObjHandle::omhandle, and LBDB::RunningObj().
Referenced by LDSend().
void LBDB::MulticastSend | ( | const LDOMHandle & | destOM, | |
CmiUInt8 * | destids, | |||
int | ndests, | |||
unsigned int | bytes, | |||
int | nMsgs | |||
) | [inherited] |
Definition at line 254 of file LBDBManager.C.
References LBCommData::addMessage(), LBDB::commTable, LBCommTable::HashInsertUnique(), LDOMHandle::id, LBDB::obj_running, and LBDB::RunningObj().
Referenced by LDMulticastSend().
void LBDB::ClearLoads | ( | void | ) | [inherited] |
Definition at line 267 of file LBDBManager.C.
References LBMachineUtil::Clear(), LBDB::commTable, LDObjData::cpuTime, LBObj::data, LBObj::lastCpuTime, LBObj::lastWallTime, LBDB::machineUtil, LBDB::obj_cputime, LBDB::obj_walltime, LBDB::objs, and LDObjData::wallTime.
Referenced by controlPointManager::gotoNextPhase(), and LDClearLoads().
int LBDB::ObjDataCount | ( | ) | [inherited] |
Definition at line 295 of file LBDBManager.C.
References _lb_args, CkLBArgs::migObjOnly(), and LBDB::objs.
Referenced by MetaBalancer::AddLoad(), MetaBalancer::AdjustCountForDeadContributor(), MetaBalancer::ContributeStats(), MetaBalancer::HandleAdaptiveNoObj(), LDGetObjDataSz(), MetaBalancer::TriggerAdaptiveReduction(), and LBDB::useMem().
void LBDB::GetObjData | ( | LDObjData * | data | ) | [inherited] |
Definition at line 312 of file LBDBManager.C.
References _lb_args, LBObj::data, CkLBArgs::migObjOnly(), LDObjData::migratable, LBObj::ObjData(), and LBDB::objs.
Referenced by LDGetObjData().
int LBDB::Migrate | ( | LDObjHandle | h, | |
int | dest | |||
) | [inherited] |
Definition at line 330 of file LBDBManager.C.
References Converse::CkMyPe(), CmiAbort(), CmiPrintf(), LDObjHandle::handle, LBOM::Migrate(), LBDB::objs, and LBDB::oms.
Referenced by LDMigrate().
void LBDB::MetaLBResumeWaitingChares | ( | int | lb_ideal_period | ) | [inherited] |
Definition at line 349 of file LBDBManager.C.
References LBObj::GetLDObjHandle(), h, LDOMHandle::handle, LBOM::MetaLBResumeWaitingChares(), LBDB::objs, LBDB::oms, and LBObj::parentOM().
Referenced by LDOMMetaLBResumeWaitingChares().
void LBDB::MetaLBCallLBOnChares | ( | ) | [inherited] |
Definition at line 360 of file LBDBManager.C.
References LBObj::GetLDObjHandle(), h, LDOMHandle::handle, LBOM::MetaLBCallLBOnChares(), LBDB::objs, LBDB::oms, and LBObj::parentOM().
Referenced by LDOMMetaLBCallLBOnChares().
void LBDB::Migrated | ( | LDObjHandle | h, | |
int | waitBarrier = 1 | |||
) | [inherited] |
Definition at line 371 of file LBDBManager.C.
References cb, LBDB::MigrateCB::data, LBDB::MigrateCB::fn, LBDB::migrateCBList, and LBDB::MigrateCB::on.
Referenced by LDMigrated().
int LBDB::NotifyMigrated | ( | LDMigratedFn | fn, | |
void * | data | |||
) | [inherited] |
Definition at line 386 of file LBDBManager.C.
References LBDB::MigrateCB::data, LBDB::MigrateCB::fn, LBDB::migrateCBList, and LBDB::MigrateCB::on.
Referenced by LDNotifyMigrated().
void LBDB::RemoveNotifyMigrated | ( | int | handle | ) | [inherited] |
int LBDB::AddStartLBFn | ( | LDStartLBFn | fn, | |
void * | data | |||
) | [inherited] |
Definition at line 405 of file LBDBManager.C.
References LBDB::StartLBCB::data, LBDB::StartLBCB::fn, LBDB::StartLBCB::on, LBDB::startLBFn_count, and LBDB::startLBFnList.
Referenced by LDAddStartLBFn().
void LBDB::RemoveStartLBFn | ( | LDStartLBFn | fn | ) | [inherited] |
Definition at line 418 of file LBDBManager.C.
References LBDB::StartLBCB::fn, LBDB::startLBFn_count, and LBDB::startLBFnList.
Referenced by LDRemoveStartLBFn().
void LBDB::StartLB | ( | ) | [inherited] |
Definition at line 431 of file LBDBManager.C.
References CmiAbort(), LBDB::StartLBCB::data, LBDB::StartLBCB::fn, LBDB::StartLBCB::on, LBDB::startLBFn_count, and LBDB::startLBFnList.
Referenced by LDStartLB().
int LBDB::AddMigrationDoneFn | ( | LDMigrationDoneFn | fn, | |
void * | data | |||
) | [inherited] |
Definition at line 442 of file LBDBManager.C.
References LBDB::MigrationDoneCB::data, LBDB::MigrationDoneCB::fn, and LBDB::migrationDoneCBList.
Referenced by LDAddMigrationDoneFn().
void LBDB::RemoveMigrationDoneFn | ( | LDMigrationDoneFn | fn | ) | [inherited] |
Definition at line 452 of file LBDBManager.C.
References LBDB::MigrationDoneCB::fn, and LBDB::migrationDoneCBList.
Referenced by LDRemoveMigrationDoneFn().
void LBDB::MigrationDone | ( | void | ) | [inherited] |
Definition at line 463 of file LBDBManager.C.
References LBDB::MigrationDoneCB::data, LBDB::MigrationDoneCB::fn, and LBDB::migrationDoneCBList.
Referenced by LDMigrationDone().
void LBDB::SetupPredictor | ( | LDPredictModelFn | on, | |
LDPredictWindowFn | onWin, | |||
LDPredictFn | off, | |||
LDPredictModelFn | change, | |||
void * | data | |||
) | [inherited] |
Definition at line 470 of file LBDBManager.C.
References LBDB::PredictCB::change, LBDB::PredictCB::data, LBDB::PredictCB::off, LBDB::PredictCB::on, LBDB::PredictCB::onWin, and LBDB::predictCBFn.
void LBDB::BackgroundLoad | ( | LBRealType * | walltime, | |
LBRealType * | cputime | |||
) | [inherited] |
Definition at line 480 of file LBDBManager.C.
References LBDB::IdleTime(), LBDB::obj_cputime, LBDB::obj_walltime, and LBDB::TotalTime().
Referenced by LDBackgroundLoad().
void LBDB::GetTime | ( | LBRealType * | total_walltime, | |
LBRealType * | total_cputime, | |||
LBRealType * | idletime, | |||
LBRealType * | bg_walltime, | |||
LBRealType * | bg_cputime | |||
) | [inherited] |
Definition at line 498 of file LBDBManager.C.
References LBDB::IdleTime(), LBDB::obj_cputime, LBDB::obj_walltime, and LBDB::TotalTime().
Referenced by LDGetTime().
void LBDB::DumpDatabase | ( | void | ) | [inherited] |
Definition at line 515 of file LBDBManager.C.
References CmiPrintf(), LBDB::objs, and LBDB::omCount.
Referenced by LDDumpDatabase().
int LBDB::useMem | ( | ) | [inherited] |
Definition at line 523 of file LBDBManager.C.
References LBDB::commTable, CkVec< T >::length(), LBDB::migrateCBList, LBDB::ObjDataCount(), LBDB::oms, size, LBDB::startLBFnList, and LBCommTable::useMem().
Referenced by LDMemusage().
LDBarrierClient LocalBarrier::AddClient | ( | LDResumeFn | fn, | |
void * | data | |||
) | [inherited] |
Definition at line 546 of file LBDBManager.C.
References _BgOutOfCoreFlag, LocalBarrier::client_count, LocalBarrier::clients, LocalBarrier::cur_refcount, client::data, client::fn, and client::refcount.
Referenced by LBDB::AddLocalBarrierClient().
void LocalBarrier::RemoveClient | ( | LDBarrierClient | h | ) | [inherited] |
Definition at line 566 of file LBDBManager.C.
References _BgOutOfCoreFlag, LocalBarrier::client_count, LocalBarrier::clients, and LDBarrierClient::i.
Referenced by LBDB::RemoveLocalBarrierClient().
LDBarrierReceiver LocalBarrier::AddReceiver | ( | LDBarrierFn | fn, | |
void * | data | |||
) | [inherited] |
Definition at line 583 of file LBDBManager.C.
References receiver::data, receiver::fn, receiver::on, and LocalBarrier::receivers.
Referenced by LBDB::AddLocalBarrierReceiver().
void LocalBarrier::RemoveReceiver | ( | LDBarrierReceiver | h | ) | [inherited] |
Definition at line 593 of file LBDBManager.C.
References LDBarrierReceiver::i, and LocalBarrier::receivers.
Referenced by LBDB::RemoveLocalBarrierReceiver().
void LocalBarrier::TurnOnReceiver | ( | LDBarrierReceiver | h | ) | [inherited] |
Definition at line 599 of file LBDBManager.C.
References LDBarrierReceiver::i, and LocalBarrier::on.
Referenced by LBDB::TurnOnBarrierReceiver().
void LocalBarrier::TurnOffReceiver | ( | LDBarrierReceiver | h | ) | [inherited] |
Definition at line 604 of file LBDBManager.C.
References LDBarrierReceiver::i, and LocalBarrier::on.
Referenced by LBDB::TurnOffBarrierReceiver().
void LocalBarrier::AtBarrier | ( | LDBarrierClient | h | ) | [inherited] |
Definition at line 609 of file LBDBManager.C.
References LocalBarrier::at_count, LocalBarrier::CheckBarrier(), LDBarrierClient::i, and refcount.
Referenced by LBDB::AtLocalBarrier().
void LocalBarrier::DecreaseBarrier | ( | LDBarrierClient | h, | |
int | c | |||
) | [inherited] |
Definition at line 616 of file LBDBManager.C.
References LocalBarrier::at_count.
Referenced by LBDB::DecreaseLocalBarrier().
void LocalBarrier::CheckBarrier | ( | ) | [private, inherited] |
Definition at line 621 of file LBDBManager.C.
References LocalBarrier::at_count, LocalBarrier::CallReceivers(), LocalBarrier::client_count, LocalBarrier::clients, LocalBarrier::cur_refcount, and LocalBarrier::on.
Referenced by LocalBarrier::AtBarrier(), and LocalBarrier::TurnOn().
void LocalBarrier::CallReceivers | ( | void | ) | [private, inherited] |
Definition at line 646 of file LBDBManager.C.
References receiver::data, receiver::fn, receiver::on, LocalBarrier::receivers, and LocalBarrier::ResumeClients().
Referenced by LocalBarrier::CheckBarrier().
void LocalBarrier::ResumeClients | ( | void | ) | [private, inherited] |
Definition at line 663 of file LBDBManager.C.
References LocalBarrier::clients.
Referenced by LocalBarrier::CallReceivers(), and LBDB::ResumeClients().
void LBMachineUtil::IdleStart | ( | double | curWallTime | ) | [inline, private, inherited] |
Definition at line 10 of file LBMachineUtil.C.
References LBMachineUtil::start_idle.
Referenced by LBMachineUtil::staticIdleStart().
void LBMachineUtil::IdleEnd | ( | double | curWallTime | ) | [inline, private, inherited] |
Definition at line 15 of file LBMachineUtil.C.
References LBMachineUtil::on, LBMachineUtil::start_idle, LBMachineUtil::state, and LBMachineUtil::total_idletime.
Referenced by LBMachineUtil::staticIdleEnd().
void LBMachineUtil::staticIdleStart | ( | LBMachineUtil * | util, | |
double | curWallTime | |||
) | [static, private, inherited] |
Definition at line 24 of file LBMachineUtil.C.
References LBMachineUtil::IdleStart().
Referenced by LBMachineUtil::StatsOn().
void LBMachineUtil::staticIdleEnd | ( | LBMachineUtil * | util, | |
double | curWallTime | |||
) | [static, private, inherited] |
Definition at line 28 of file LBMachineUtil.C.
References LBMachineUtil::IdleEnd().
Referenced by LBMachineUtil::StatsOn().
LBMachineUtil::LBMachineUtil | ( | ) | [inherited] |
Definition at line 33 of file LBMachineUtil.C.
References LBMachineUtil::off, LBMachineUtil::start_idle, LBMachineUtil::start_totalcpu, LBMachineUtil::start_totalwall, LBMachineUtil::state, LBMachineUtil::total_cputime, LBMachineUtil::total_idletime, and LBMachineUtil::total_walltime.
void LBMachineUtil::StatsOn | ( | void | ) | [inherited] |
Definition at line 46 of file LBMachineUtil.C.
References LBMachineUtil::cancel_idleEnd, LBMachineUtil::cancel_idleStart, CcdCallOnConditionKeep(), LBMachineUtil::off, LBMachineUtil::on, LBMachineUtil::start_totalcpu, LBMachineUtil::start_totalwall, LBMachineUtil::state, LBMachineUtil::staticIdleEnd(), LBMachineUtil::staticIdleStart(), LBMachineUtil::total_cputime, and LBMachineUtil::total_walltime.
Referenced by LBDB::TurnStatsOn().
void LBMachineUtil::StatsOff | ( | ) | [inherited] |
Definition at line 75 of file LBMachineUtil.C.
References LBMachineUtil::cancel_idleEnd, LBMachineUtil::cancel_idleStart, CcdCancelCallOnConditionKeep(), LBMachineUtil::off, LBMachineUtil::on, LBMachineUtil::start_totalcpu, LBMachineUtil::start_totalwall, LBMachineUtil::state, LBMachineUtil::total_cputime, and LBMachineUtil::total_walltime.
Referenced by LBDB::TurnStatsOff().
void LBMachineUtil::Clear | ( | void | ) | [inherited] |
Definition at line 99 of file LBMachineUtil.C.
References LBMachineUtil::off, LBMachineUtil::start_idle, LBMachineUtil::start_totalcpu, LBMachineUtil::start_totalwall, LBMachineUtil::state, LBMachineUtil::total_cputime, LBMachineUtil::total_idletime, and LBMachineUtil::total_walltime.
Referenced by LBDB::ClearLoads().
void LBMachineUtil::TotalTime | ( | LBRealType * | walltime, | |
LBRealType * | cputime | |||
) | [inherited] |
Definition at line 126 of file LBMachineUtil.C.
References LBMachineUtil::on, LBMachineUtil::start_totalcpu, LBMachineUtil::start_totalwall, LBMachineUtil::state, LBMachineUtil::total_cputime, and LBMachineUtil::total_walltime.
Referenced by LBDB::TotalTime().
void LBObj::Clear | ( | void | ) | [inherited] |
Definition at line 18 of file LBObj.C.
References LDObjData::cpuTime, LBObj::data, LDObjData::maxWall, LDObjData::minWall, and LDObjData::wallTime.
Referenced by LBObj::LBObj().
void LBObj::IncrementTime | ( | LBRealType | walltime, | |
LBRealType | cputime | |||
) | [inherited] |
Definition at line 34 of file LBObj.C.
References LDObjData::cpuTime, LBObj::data, LDObjData::maxWall, LDObjData::minWall, and LDObjData::wallTime.
Referenced by LDObjectStop(), and LDObjTime().
int LBProfit::profitable | ( | BaseLB::ProcStats * | procArray, | |
int | np | |||
) | [virtual, inherited] |
Definition at line 12 of file LBProfit.C.
References BaseLB::ProcStats::bg_walltime, BaseLB::ProcStats::idletime, p, and BaseLB::ProcStats::total_walltime.
void MetisLB::work | ( | LDStats * | stats | ) | [private, inherited] |
========================== INITIALIZATION =============================
============================= STRATEGY ================================
remove duplicate edges from recvFrom
the object load is normalized to an integer between 0 and 256
============================== CLEANUP ================================
Definition at line 26 of file MetisLB.C.
References _lb_args, adjncy, adjwgt, Converse::CkMyPe(), ObjGraph::convertDecisions(), CkLBArgs::debug(), edgecut, int, METIS_OPTION_NUMBERING, METIS_PartGraphRecursive(), METIS_SetDefaultOptions(), ncon, ProcArray::procs, tpwgts, ubvec, ObjGraph::vertices, vsize, vwgt, and xadj.
void NborBaseLB::staticMigrated | ( | void * | me, | |
LDObjHandle | h, | |||
int | waitBarrier | |||
) | [static, inherited] |
Definition at line 15 of file NborBaseLB.C.
References NborBaseLB::Migrated().
Referenced by NborBaseLB::NborBaseLB().
void NborBaseLB::staticAtSync | ( | void * | data | ) | [static, inherited] |
Definition at line 22 of file NborBaseLB.C.
References NborBaseLB::AtSync().
Referenced by NborBaseLB::NborBaseLB().
NborBaseLB::NborBaseLB | ( | const CkLBOptions & | opt | ) | [inherited] |
Definition at line 29 of file NborBaseLB.C.
References _lb_args, _lbtopo, Converse::CkMyPe(), Converse::CkNumPes(), CmiAbort(), CmiPrintf(), NborBaseLB::LDStats::commData, NborBaseLB::LDStats::from_pe, LBTopoLookup(), NborBaseLB::mig_msgs, NborBaseLB::mig_msgs_expected, NborBaseLB::mig_msgs_received, NborBaseLB::migrates_completed, NborBaseLB::migrates_expected, NborBaseLB::myStats, NborBaseLB::LDStats::n_comm, NborBaseLB::LDStats::n_objs, NborBaseLB::neighbor_pes, NborBaseLB::LDStats::objData, NborBaseLB::LDStats::pe_speed, NborBaseLB::receive_stats_ready, NborBaseLB::staticAtSync(), NborBaseLB::staticMigrated(), NborBaseLB::stats_msg_count, NborBaseLB::statsDataList, NborBaseLB::statsMsgsList, CkLBArgs::statsOn(), and NborBaseLB::topo.
NborBaseLB::~NborBaseLB | ( | ) | [inherited] |
Definition at line 77 of file NborBaseLB.C.
References _lbdb, NborBaseLB::mig_msgs, NborBaseLB::neighbor_pes, NborBaseLB::statsDataList, and NborBaseLB::statsMsgsList.
void NborBaseLB::FindNeighbors | ( | ) | [private, inherited] |
Definition at line 94 of file NborBaseLB.C.
References Converse::CkMyPe(), LBTopology::max_neighbors(), maxneighbors, NborBaseLB::mig_msgs, NborBaseLB::mig_msgs_expected, NborBaseLB::neighbor_pes, LBTopology::neighbors(), NborBaseLB::statsDataList, NborBaseLB::statsMsgsList, and NborBaseLB::topo.
Referenced by NborBaseLB::AtSync(), NborBaseLB::ReceiveMigration(), and NborBaseLB::ReceiveStats().
void NborBaseLB::AtSync | ( | void | ) | [inherited] |
Definition at line 112 of file NborBaseLB.C.
References _lb_args, NborBaseLB::AssembleStats(), Converse::CkMyPe(), CkLBArgs::debug(), NborBaseLB::FindNeighbors(), NborBaseLB::mig_msgs_expected, NborBaseLB::MigrationDone(), msg, NborBaseLB::neighbor_pes, NborBaseLB::QueryBalanceNow(), and NborBaseLB::start_lb_time.
Referenced by NborBaseLB::staticAtSync().
NLBStatsMsg * NborBaseLB::AssembleStats | ( | ) | [private, inherited] |
Definition at line 145 of file NborBaseLB.C.
References NLBStatsMsg::bg_cputime, NborBaseLB::LDStats::bg_cputime, NLBStatsMsg::bg_walltime, NborBaseLB::LDStats::bg_walltime, Converse::CkMyPe(), NLBStatsMsg::commData, NborBaseLB::LDStats::commData, LDObjData::cpuTime, CrnRand(), NLBStatsMsg::from_pe, NLBStatsMsg::idletime, NborBaseLB::LDStats::idletime, NborBaseLB::LDStats::move, msg, NborBaseLB::myStats, NLBStatsMsg::n_comm, NborBaseLB::LDStats::n_comm, NLBStatsMsg::n_objs, NborBaseLB::LDStats::n_objs, NLBStatsMsg::obj_cputime, NborBaseLB::LDStats::obj_cputime, NLBStatsMsg::obj_walltime, NborBaseLB::LDStats::obj_walltime, NLBStatsMsg::objData, NborBaseLB::LDStats::objData, NborBaseLB::LDStats::pe_speed, NLBStatsMsg::pe_speed, NborBaseLB::QueryMigrateStep(), NLBStatsMsg::serial, NLBStatsMsg::total_cputime, NborBaseLB::LDStats::total_cputime, NLBStatsMsg::total_walltime, NborBaseLB::LDStats::total_walltime, and LDObjData::wallTime.
Referenced by NborBaseLB::AtSync().
void NborBaseLB::Migrated | ( | LDObjHandle | h, | |
int | waitBarrier | |||
) | [inherited] |
Definition at line 225 of file NborBaseLB.C.
References NborBaseLB::migrates_completed, NborBaseLB::migrates_expected, and NborBaseLB::MigrationDone().
Referenced by NborBaseLB::staticMigrated().
void NborBaseLB::ReceiveStats | ( | CkMarshalledNLBStatsMessage && | m | ) | [inherited] |
Definition at line 235 of file NborBaseLB.C.
References _lb_args, NLBStatsMsg::bg_cputime, NborBaseLB::LDStats::bg_cputime, NLBStatsMsg::bg_walltime, NborBaseLB::LDStats::bg_walltime, Converse::CkMyPe(), NLBStatsMsg::commData, NborBaseLB::LDStats::commData, data, CkLBArgs::debug(), NborBaseLB::FindNeighbors(), MigrateInfo::from_pe, NborBaseLB::LDStats::from_pe, NLBStatsMsg::from_pe, NLBStatsMsg::idletime, NborBaseLB::LDStats::idletime, CkLBArgs::ignoreBgLoad(), PUP::m, NborBaseLB::mig_msgs_expected, LBMigrateMsg::moves, NLBStatsMsg::n_comm, NborBaseLB::LDStats::n_comm, LBMigrateMsg::n_moves, NLBStatsMsg::n_objs, NborBaseLB::LDStats::n_objs, NborBaseLB::neighbor_pes, NborBaseLB::NeighborIndex(), MigrateInfo::obj, NLBStatsMsg::obj_cputime, NborBaseLB::LDStats::obj_cputime, NLBStatsMsg::obj_walltime, NborBaseLB::LDStats::obj_walltime, NLBStatsMsg::objData, NborBaseLB::LDStats::objData, NLBStatsMsg::pe_speed, NborBaseLB::LDStats::pe_speed, NborBaseLB::receive_stats_ready, NborBaseLB::stats_msg_count, NborBaseLB::statsDataList, NborBaseLB::statsMsgsList, NborBaseLB::Strategy(), MigrateInfo::to_pe, NLBStatsMsg::total_cputime, NborBaseLB::LDStats::total_cputime, NLBStatsMsg::total_walltime, and NborBaseLB::LDStats::total_walltime.
void NborBaseLB::ReceiveMigration | ( | LBMigrateMsg * | msg | ) | [inherited] |
Definition at line 318 of file NborBaseLB.C.
References Converse::CkMyPe(), NborBaseLB::FindNeighbors(), MigrateInfo::from_pe, PUP::m, NborBaseLB::mig_msgs, NborBaseLB::mig_msgs_expected, NborBaseLB::mig_msgs_received, NborBaseLB::migrates_completed, NborBaseLB::migrates_expected, NborBaseLB::MigrationDone(), LBMigrateMsg::moves, LBMigrateMsg::n_moves, NborBaseLB::neighbor_pes, and MigrateInfo::to_pe.
void NborBaseLB::MigrationDone | ( | int | balancing | ) | [inherited] |
Definition at line 361 of file NborBaseLB.C.
References _lb_args, Converse::CkMyPe(), NborBaseLB::migrates_completed, NborBaseLB::migrates_expected, NborBaseLB::ResumeClients(), and CkLBArgs::syncResume().
Referenced by NborBaseLB::AtSync(), NborBaseLB::Migrated(), and NborBaseLB::ReceiveMigration().
void NborBaseLB::ResumeClients | ( | void | ) | [inherited] |
Definition at line 382 of file NborBaseLB.C.
Referenced by NborBaseLB::MigrationDone().
void NborBaseLB::ResumeClients | ( | int | balancing | ) | [inherited] |
Definition at line 387 of file NborBaseLB.C.
References _lb_args, Converse::CkMyPe(), CkLBArgs::debug(), and NborBaseLB::start_lb_time.
LBMigrateMsg * NborBaseLB::Strategy | ( | LDStats * | stats, | |
int | n_nbrs | |||
) | [protected, virtual, inherited] |
Definition at line 403 of file NborBaseLB.C.
References Converse::CkMyPe(), Converse::CkNumPes(), msg, LBMigrateMsg::n_moves, and sizes.
Referenced by NborBaseLB::ReceiveStats().
Definition at line 423 of file NborBaseLB.C.
References NborBaseLB::mig_msgs_expected, and NborBaseLB::neighbor_pes.
Referenced by NborBaseLB::ReceiveStats().
Definition at line 435 of file NborBaseLB.C.
References NLBStatsMsg::commData, and NLBStatsMsg::objData.
NLBStatsMsg::NLBStatsMsg | ( | NLBStatsMsg * | s | ) | [inherited] |
Definition at line 440 of file NborBaseLB.C.
References buf, p, NLBStatsMsg::pup(), PUP::sizer::size(), and size.
NLBStatsMsg::~NLBStatsMsg | ( | ) | [inherited] |
Definition at line 460 of file NborBaseLB.C.
References NLBStatsMsg::commData, and NLBStatsMsg::objData.
void NLBStatsMsg::pup | ( | PUP::er & | p | ) | [inherited] |
Definition at line 465 of file NborBaseLB.C.
References NLBStatsMsg::bg_cputime, NLBStatsMsg::bg_walltime, NLBStatsMsg::commData, NLBStatsMsg::from_pe, NLBStatsMsg::idletime, PUP::er::isUnpacking(), NLBStatsMsg::n_comm, NLBStatsMsg::n_objs, NLBStatsMsg::objData, NLBStatsMsg::pe_speed, NLBStatsMsg::serial, NLBStatsMsg::total_cputime, and NLBStatsMsg::total_walltime.
Referenced by NLBStatsMsg::NLBStatsMsg(), and CkMarshalledNLBStatsMessage::pup().
CkMarshalledNLBStatsMessage::~CkMarshalledNLBStatsMessage | ( | ) | [inherited] |
void CkMarshalledNLBStatsMessage::pup | ( | PUP::er & | p | ) | [inherited] |
Definition at line 493 of file NborBaseLB.C.
References PUP::er::isPacking(), PUP::er::isUnpacking(), CkMarshalledNLBStatsMessage::msg, and NLBStatsMsg::pup().
LBMigrateMsg * NeighborCommLB::Strategy | ( | NborBaseLB::LDStats * | stats, | |
int | n_nbrs | |||
) | [private, inherited] |
Definition at line 25 of file NeighborCommLB.C.
References _lb_debug, _lbtopo, Converse::CkMyPe(), Converse::CkNumPes(), CmiAbort(), CmiPrintf(), comm, LBTopology::coordinate_difference(), maxHeap::deleteMax(), MigrateInfo::from_pe, NborBaseLB::LDStats::from_pe, LBTopology::get_dimension(), LBTopology::get_processor_coordinates(), LDObjHandle::handle, InfoRecord::Id, NborBaseLB::LDStats::idletime, maxHeap::insert(), CkVec< T >::insertAtEnd(), LBTopoLookup(), CkVec< T >::length(), InfoRecord::load, LBMigrateMsg::moves, msg, LBMigrateMsg::n_moves, NeighborCommLB::neighbors(), maxHeap::numElements(), MigrateInfo::obj, NborBaseLB::LDStats::pe_speed, printoutTopo(), MigrateInfo::to_pe, and NborBaseLB::LDStats::total_walltime.
LBMigrateMsg * NeighborLB::Strategy | ( | NborBaseLB::LDStats * | stats, | |
int | n_nbrs | |||
) | [private, inherited] |
Definition at line 21 of file NeighborLB.C.
References _lb_args, Converse::CkMyPe(), Converse::CkNumPes(), CkLBArgs::debug(), maxHeap::deleteMax(), minHeap::deleteMin(), MigrateInfo::from_pe, NborBaseLB::LDStats::from_pe, LDObjHandle::handle, InfoRecord::Id, NborBaseLB::LDStats::idletime, maxHeap::insert(), minHeap::insert(), CkVec< T >::insertAtEnd(), CkVec< T >::length(), InfoRecord::load, LBMigrateMsg::moves, msg, LBMigrateMsg::n_moves, MigrateInfo::obj, p, NborBaseLB::LDStats::pe_speed, MigrateInfo::to_pe, and NborBaseLB::LDStats::total_walltime.
void NullLB::init | ( | void | ) | [private, inherited] |
Definition at line 59 of file NullLB.C.
References CmiMyRank(), NullLB::staticAtSync(), and staticStartLB().
Referenced by NullLB::NullLB(), and NullLB::pup().
NullLB::~NullLB | ( | ) | [inherited] |
Definition at line 73 of file NullLB.C.
References _lbdb, and staticStartLB().
void NullLB::staticAtSync | ( | void * | data | ) | [static, inherited] |
if there is other LBs, just ignore return
Definition at line 83 of file NullLB.C.
References NullLB::AtSync().
Referenced by NullLB::init().
void NullLB::AtSync | ( | void | ) | [inherited] |
Definition at line 95 of file NullLB.C.
References _migDoneHandle, CkAllocSysMsg(), Converse::CkMyPe(), Converse::CmiSyncSendAndFree(), envelope::getTotalsize(), and UsrToEnv().
Referenced by NullLB::staticAtSync().
void NullLB::migrationsDone | ( | void | ) | [inherited] |
Definition at line 118 of file NullLB.C.
Referenced by migrationDone().
ObjGraph::ObjGraph | ( | int | count, | |
BaseLB::LDStats * | stats | |||
) | [inherited] |
Definition at line 21 of file ObjGraph.C.
References _lb_args, ObjGraph::calc_hashval(), BaseLB::LDStats::complete_flag, ObjGraph::Edge::edge_index, ObjGraph::edgelist, ObjGraph::find_node(), ObjGraph::Edge::from_node, _LDCommData::from_proc(), _LDCommDesc::get_destObj(), ObjGraph::hash_max, CkLBArgs::ignoreBgLoad(), ObjGraph::Edge::index, ObjGraph::Node::index, index, ObjGraph::Node::inEdge, CkLBArgs::migObjOnly(), ObjGraph::n_edges, ObjGraph::Node::n_in, ObjGraph::n_objs, ObjGraph::Node::n_out, ObjGraph::Node::node_index, ObjGraph::node_table, ObjGraph::nodelist, ObjGraph::Node::nxt_hash, ObjGraph::Edge::nxt_in, ObjGraph::Edge::nxt_out, LDObjData::objID(), LDObjData::omID(), ObjGraph::Node::outEdge, ObjGraph::Node::proc, _LDCommData::receiver, _LDCommData::recv_type(), _LDCommData::sender, and ObjGraph::Edge::to_node.
double ObjGraph::EdgeWeight | ( | Edge * | e | ) | [inherited] |
Definition at line 136 of file ObjGraph.C.
References alpha, beta, _LDCommData::bytes, ObjGraph::Edge::index, and _LDCommData::messages.
Definition at line 141 of file ObjGraph.C.
References ObjGraph::hash_max, _LDOMid::id, _ckGroupID::idx, and int.
Referenced by ObjGraph::find_node(), and ObjGraph::ObjGraph().
ObjGraph::Node * ObjGraph::find_node | ( | const LDObjKey & | edge_key | ) | [private, inherited] |
Definition at line 148 of file ObjGraph.C.
References ObjGraph::calc_hashval(), ObjGraph::Node::index, LDOMidEqual(), ObjGraph::node_table, ObjGraph::Node::nxt_hash, _LDObjKey::objID(), and _LDObjKey::omID().
Referenced by ObjGraph::ObjGraph().
OrbLB::OrbLB | ( | const CkLBOptions & | opt, | |
bool | userdata | |||
) | [inherited] |
Definition at line 34 of file OrbLB.C.
References Converse::CkMyPe(), OrbLB::init(), quietModeRequested, and OrbLB::use_udata.
OrbLB::OrbLB | ( | const CkLBOptions & | opt | ) | [inherited] |
Definition at line 42 of file OrbLB.C.
References Converse::CkMyPe(), OrbLB::init(), and OrbLB::use_udata.
Definition at line 55 of file OrbLB.C.
References _lb_args, OrbLB::Partition::bkpes, CmiPrintf(), OrbLB::computeLoad, OrbLB::Partition::corner, OrbLB::Partition::count, count, OrbLB::currentp, CkLBArgs::debug(), OrbLB::VecArray::id, CkLBArgs::ignoreBgLoad(), OrbLB::ComputeLoad::load, OrbLB::Partition::load, n1, n2, OrbLB::nObjs, OrbLB::Partition::origin, OrbLB::partitions, CkVec< T >::push_back(), OrbLB::ComputeLoad::refno, OrbLB::refno, OrbLB::Partition::refno, CkVec< T >::resize(), CkVec< T >::size(), OrbLB::statsData, OrbLB::ComputeLoad::v, OrbLB::vArray, OrbLB::XDIR, and OrbLB::ZDIR.
Referenced by OrbLB::work().
Definition at line 176 of file OrbLB.C.
References CmiPrintf(), OrbLB::computeLoad, OrbLB::nObjs, tv, OrbLB::ComputeLoad::tv, and OrbLB::ComputeLoad::v.
Referenced by OrbLB::quicksort().
Definition at line 192 of file OrbLB.C.
References CmiAbort(), OrbLB::computeLoad, OrbLB::VecArray::id, tv, OrbLB::ComputeLoad::tv, and OrbLB::vArray.
Referenced by OrbLB::qsort().
Definition at line 217 of file OrbLB.C.
References OrbLB::sort_partition().
Referenced by OrbLB::quicksort().
void OrbLB::quicksort | ( | int | x | ) | [private, inherited] |
Definition at line 227 of file OrbLB.C.
References CmiPrintf(), OrbLB::computeLoad, OrbLB::nObjs, OrbLB::qsort(), OrbLB::setVal(), tv, and OrbLB::vArray.
Referenced by OrbLB::work().
void OrbLB::mapPartitionsToNodes | ( | ) | [private, inherited] |
Definition at line 242 of file OrbLB.C.
References _lb_args, OrbLB::Partition::bkpes, CmiPrintf(), OrbLB::computeLoad, count, CkLBArgs::debug(), CkLBArgs::ignoreBgLoad(), index, OrbLB::Partition::mapped, n, OrbLB::Partition::node, OrbLB::npartition, OrbLB::P, OrbLB::partitions, OrbLB::refno, and OrbLB::statsData.
Referenced by OrbLB::work().
void OrbLB::work | ( | LDStats * | stats | ) | [inherited] |
Definition at line 325 of file OrbLB.C.
References _lb_args, OrbLB::Partition::bkpes, CkLocalBranch(), Converse::CkMyPe(), CmiAbort(), CmiPrintf(), OrbLB::computeLoad, OrbLB::Partition::corner, count, OrbLB::Partition::count, LDObjData::cpuTime, OrbLB::currentp, CkLBArgs::debug(), LDObjData::getUserData(), OrbLB::VecArray::id, _LDOMid::id, LDOMHandle::id, OrbLB::ComputeLoad::id, _ckGroupID::idx, idx, CkLBArgs::ignoreBgLoad(), OrbLB::Partition::load, OrbLB::ComputeLoad::load, CkLocMgr::lookupIdx(), OrbLB::mapPartitionsToNodes(), LDObjData::migratable, OrbLB::nObjs, OrbLB::Partition::node, OrbLB::npartition, LDObjData::objID(), LDObjData::omHandle(), OrbLB::Partition::origin, OrbLB::P, OrbLB::ComputeLoad::partition, OrbLB::partitions, CkVec< T >::push_back(), OrbLB::quicksort(), OrbLB::rec_divide(), OrbLB::refno, OrbLB::Partition::refno, OrbLB::ComputeLoad::refno, CkVec< T >::resize(), CkVec< T >::size(), OrbLB::statsData, PUP::t, OrbLB::top_partition, OrbLB::use_udata, CkLBArgs::useCpuTime(), OrbLB::VecArray::v, OrbLB::ComputeLoad::v, OrbLB::vArray, LDObjData::wallTime, x, OrbLB::XDIR, OrbLB::YDIR, and OrbLB::ZDIR.
Definition at line 36 of file PhasebyArrayLB.C.
void PhasebyArrayLB::copyStats | ( | BaseLB::LDStats * | stats, | |
BaseLB::LDStats * | tempStats | |||
) | [private, inherited] |
Definition at line 41 of file PhasebyArrayLB.C.
References BaseLB::LDStats::commData, BaseLB::LDStats::from_proc, BaseLB::LDStats::hashSize, BaseLB::LDStats::n_comm, BaseLB::LDStats::n_migrateobjs, BaseLB::LDStats::n_objs, BaseLB::LDStats::nprocs(), BaseLB::LDStats::objData, BaseLB::LDStats::objHash, BaseLB::LDStats::procs, CkVec< T >::resize(), and BaseLB::LDStats::to_proc.
Referenced by PhasebyArrayLB::work().
void PhasebyArrayLB::updateStats | ( | BaseLB::LDStats * | stats, | |
BaseLB::LDStats * | tempStats | |||
) | [private, inherited] |
Definition at line 72 of file PhasebyArrayLB.C.
References BaseLB::LDStats::hashSize, BaseLB::LDStats::n_objs, BaseLB::LDStats::objData, and BaseLB::LDStats::objHash.
Referenced by PhasebyArrayLB::work().
void PhasebyArrayLB::work | ( | LDStats * | stats | ) | [private, inherited] |
Definition at line 87 of file PhasebyArrayLB.C.
References BaseLB::LDStats::clear(), PhasebyArrayLB::copyStats(), flag, CkVec< T >::free(), BaseLB::LDStats::from_proc, PhasebyArrayLB::lb, LDObjData::migratable, PhasebyArrayLB::migratableOMs, BaseLB::LDStats::n_objs, BaseLB::LDStats::objData, LDObjData::omID(), PhasebyArrayLB::omids, CkVec< T >::push_back(), PhasebyArrayLB::tempStats, BaseLB::LDStats::to_proc, PhasebyArrayLB::updateStats(), and CentralLB::work().
Definition at line 25 of file RandCentLB.C.
void RandCentLB::work | ( | LDStats * | stats | ) | [inherited] |
Definition at line 35 of file RandCentLB.C.
References _lb_args, chooseProc(), Converse::CkMyPe(), CmiAbort(), CkLBArgs::debug(), dest, and LDObjData::migratable.
void BQueue::removeComplete | ( | Vertex * | vert | ) | [inherited] |
Definition at line 131 of file RecBipartLB.C.
References Vertex::getVertexId(), BQueue::q, and vhelpers.
Referenced by removeinSwap().
void BQueue::push | ( | Vertex * | vert | ) | [inherited] |
Definition at line 149 of file RecBipartLB.C.
References Vertex::getVertexId(), BQueue::q, and vhelpers.
Referenced by adjustqueues(), RecursiveBiPart(), removeinSwap(), and swapQ1toQ2().
RecBipartLB::RecBipartLB | ( | const CkLBOptions & | opt | ) | [inherited] |
Definition at line 157 of file RecBipartLB.C.
References Converse::CkMyPe(), and quietModeRequested.
Definition at line 163 of file RecBipartLB.C.
void RecBipartLB::work | ( | LDStats * | stats | ) | [inherited] |
========================== INITIALIZATION =============================
============================= STRATEGY ================================
============================== CLEANUP ================================
Definition at line 167 of file RecBipartLB.C.
References Converse::CkNumPes(), ObjGraph::convertDecisions(), ProcArray::getAverageLoad(), level, numparts, peno, ProcArray::procs, RecursiveBiPart(), ProcArray::resetTotalLoad(), TOTALLOAD, ObjGraph::vertices, and vhelpers.
Definition at line 51 of file RecBisectBfLB.C.
void RecBisectBfLB::work | ( | LDStats * | stats | ) | [private, inherited] |
Definition at line 57 of file RecBisectBfLB.C.
References Converse::CkMyPe(), Converse::CkNumPes(), CmiPrintf(), RecBisectBfLB::convertGraph(), free(), g_freeGraph(), ObjGraph::GraphNode(), ObjGraph::Node::index, malloc(), PartitionList::max, n, PartitionList::next, PartitionRecord::nodeArray, PartitionList::partitions, ObjGraph::Node::proc, RecBisectBfLB::recursivePartition(), PartitionRecord::size, and Graph::V.
Definition at line 116 of file RecBisectBfLB.C.
References E, ObjGraph::EdgeCount(), ObjGraph::Edge::from_node, g_addEdge(), g_finishVertex(), g_initGraph(), g_nextVertex(), ObjGraph::GraphNode(), PUP::l, ObjGraph::LoadOf(), n, ObjGraph::Edge::next_from(), ObjGraph::Edge::next_to(), ObjGraph::NodeCount(), ObjGraph::Edge::to_node, and V.
Referenced by RecBisectBfLB::work().
void RecBisectBfLB::partitionInTwo | ( | Graph * | g, | |
int | nodes[], | |||
int | numNodes, | |||
int ** | pp1, | |||
int * | numP1, | |||
int ** | pp2, | |||
int * | numP2, | |||
int | ratio1, | |||
int | ratio2 | |||
) | [private, inherited] |
Definition at line 156 of file RecBisectBfLB.C.
References RecBisectBfLB::addToQ(), bvset_enumerate(), bvset_size(), destroySet(), CkQ< T >::enq(), graph_weightof(), makeEmptySet(), makeSet(), Graph::V, and PUP::w.
Referenced by RecBisectBfLB::recursivePartition().
int RecBisectBfLB::findNextUnassigned | ( | int | max, | |
BV_Set * | all, | |||
BV_Set * | s1, | |||
BV_Set * | s2 | |||
) | [private, inherited] |
Definition at line 224 of file RecBisectBfLB.C.
References bvset_find().
Referenced by RecBisectBfLB::addToQ().
float RecBisectBfLB::addToQ | ( | IntQueue * | q, | |
Graph * | g, | |||
BV_Set * | all, | |||
BV_Set * | s1, | |||
BV_Set * | s2 | |||
) | [private, inherited] |
Definition at line 236 of file RecBisectBfLB.C.
References bvset_find(), bvset_insert(), CkQ< T >::deq(), CkQ< T >::enq(), RecBisectBfLB::enqChildren(), RecBisectBfLB::findNextUnassigned(), graph_weightof(), CkQ< T >::isEmpty(), V, and Graph::V.
Referenced by RecBisectBfLB::partitionInTwo().
void RecBisectBfLB::enqChildren | ( | IntQueue * | q, | |
Graph * | g, | |||
BV_Set * | all, | |||
BV_Set * | s1, | |||
BV_Set * | s2, | |||
int | node | |||
) | [private, inherited] |
Definition at line 261 of file RecBisectBfLB.C.
References bvset_find(), CkQ< T >::enq(), g_getNeighbor(), and g_numNeighbors().
Referenced by RecBisectBfLB::addToQ().
void RecBisectBfLB::addPartition | ( | PartitionList * | partitions, | |
int * | nodes, | |||
int | num | |||
) | [private, inherited] |
Definition at line 277 of file RecBisectBfLB.C.
References PartitionList::next, PartitionRecord::nodeArray, PartitionList::partitions, and PartitionRecord::size.
Referenced by RecBisectBfLB::recursivePartition().
void RecBisectBfLB::printPartitions | ( | PartitionList * | partitions | ) | [private, inherited] |
Definition at line 287 of file RecBisectBfLB.C.
References CmiPrintf(), PartitionList::max, PartitionRecord::nodeArray, PartitionList::partitions, and PartitionRecord::size.
void RecBisectBfLB::recursivePartition | ( | int | numParts, | |
Graph * | g, | |||
int | nodes[], | |||
int | numNodes, | |||
PartitionList * | partitions | |||
) | [private, inherited] |
Definition at line 301 of file RecBisectBfLB.C.
References RecBisectBfLB::addPartition(), free(), and RecBisectBfLB::partitionInTwo().
Referenced by RecBisectBfLB::work().
Definition at line 21 of file RefineCommLB.C.
void RefineCommLB::work | ( | LDStats * | stats | ) | [private, inherited] |
Definition at line 26 of file RefineCommLB.C.
References Refiner::AllocProcs(), Refiner::FreeProcs(), and RefinerComm::Refine().
void RefineKLB::work | ( | LDStats * | stats | ) | [inherited] |
Definition at line 25 of file RefineKLB.C.
References _lb_args, Refiner::AllocProcs(), Refiner::FreeProcs(), CkLBArgs::percentMovesAllowed(), RefineKLB::performGreedyMoves(), and RefinerApprox::Refine().
void RefineKLB::performGreedyMoves | ( | int | count, | |
BaseLB::LDStats * | stats, | |||
int * | from_procs, | |||
int * | to_procs, | |||
int | numMoves | |||
) | [protected, inherited] |
Definition at line 97 of file RefineKLB.C.
References c, maxHeap::deleteMax(), minHeap::deleteMin(), InfoRecord::Id, minHeap::insert(), maxHeap::insert(), InfoRecord::load, BaseLB::LDStats::n_objs, BaseLB::LDStats::objData, and BaseLB::LDStats::procs.
Referenced by RefineKLB::work().
void RefineLB::work | ( | LDStats * | stats | ) | [inherited] |
Definition at line 21 of file RefineLB.C.
References _lb_args, Refiner::AllocProcs(), Converse::CkMyPe(), Refiner::computeAverageLoad(), Refiner::computeMax(), CkLBArgs::debug(), Refiner::FreeProcs(), CkLBArgs::metaLbOn(), and Refiner::Refine().
int * Refiner::AllocProcs | ( | int | count, | |
BaseLB::LDStats * | stats | |||
) | [static, inherited] |
This code is derived from RefineLB.C, and RefineLB.C should be rewritten to use this, so there is no code duplication.
Definition at line 12 of file Refiner.C.
References BaseLB::LDStats::n_objs.
Referenced by RefineLB::work(), RefineKLB::work(), and RefineCommLB::work().
void Refiner::FreeProcs | ( | int * | bufs | ) | [static, inherited] |
Definition at line 17 of file Refiner.C.
Referenced by RefineLB::work(), RefineKLB::work(), and RefineCommLB::work().
void Refiner::create | ( | int | count, | |
BaseLB::LDStats * | stats, | |||
int * | cur_p | |||
) | [protected, inherited] |
Reimplemented in RefinerComm.
Definition at line 22 of file Refiner.C.
References processorInfo::available, processorInfo::backgroundLoad, CmiAbort(), BaseLB::LDStats::complete_flag, processorInfo::computeLoad, Refiner::computes, processorInfo::computeSet, CrnRand(), computeInfo::id, InfoRecord::Id, InfoRecord::load, LDObjData::migratable, computeInfo::migratable, BaseLB::LDStats::n_objs, Refiner::numAvail, BaseLB::LDStats::objData, LDObjData::objID(), computeInfo::oldProcessor, Refiner::P, processorInfo::pe_speed, computeInfo::processor, Refiner::processors, BaseLB::LDStats::procs, and LDObjData::wallTime.
Referenced by RefinerComm::create(), and Refiner::Refine().
void Refiner::assign | ( | computeInfo * | c, | |
int | p | |||
) | [protected, inherited] |
Reimplemented in RefinerComm.
Definition at line 65 of file Refiner.C.
References Refiner::processors.
Referenced by Refiner::multirefine(), RefinerApprox::Refine(), RefinerApprox::refine(), Refiner::Refine(), Refiner::refine(), RefinerApprox::reinitAssignment(), and Refiner::removeComputes().
void Refiner::assign | ( | computeInfo * | c, | |
processorInfo * | p | |||
) | [protected, inherited] |
Reimplemented in RefinerComm.
Definition at line 70 of file Refiner.C.
References processorInfo::backgroundLoad, processorInfo::computeLoad, processorInfo::computeSet, InfoRecord::Id, Set::insert(), InfoRecord::load, computeInfo::oldProcessor, processorInfo::pe_speed, computeInfo::processor, and Refiner::processors.
void Refiner::deAssign | ( | computeInfo * | c, | |
processorInfo * | pRec | |||
) | [protected, inherited] |
Reimplemented in RefinerComm.
Definition at line 79 of file Refiner.C.
References processorInfo::backgroundLoad, processorInfo::computeLoad, processorInfo::computeSet, InfoRecord::load, computeInfo::oldProcessor, processorInfo::pe_speed, computeInfo::processor, Refiner::processors, and Set::remove().
Referenced by RefinerApprox::refine(), Refiner::refine(), RefinerApprox::reinitAssignment(), and Refiner::removeComputes().
double Refiner::computeAverageLoad | ( | ) | [inherited] |
Definition at line 88 of file Refiner.C.
References Refiner::averageLoad, and Refiner::computeAverage().
Referenced by RefineLB::work().
void Refiner::computeAverage | ( | ) | [protected, virtual, inherited] |
Reimplemented in RefinerComm.
Definition at line 93 of file Refiner.C.
References Refiner::averageLoad, processorInfo::backgroundLoad, Refiner::computes, Refiner::numAvail, Refiner::numComputes, Refiner::P, and Refiner::processors.
Referenced by Refiner::computeAverageLoad(), RefinerApprox::multirefine(), Refiner::multirefine(), RefinerApprox::Refine(), and Refiner::Refine().
double Refiner::computeMax | ( | ) | [inherited] |
Definition at line 106 of file Refiner.C.
References InfoRecord::load, max(), Refiner::P, and Refiner::processors.
Referenced by RefinerApprox::multirefine(), Refiner::multirefine(), and RefineLB::work().
bool Refiner::isHeavy | ( | processorInfo * | p | ) | [protected, inherited] |
Definition at line 117 of file Refiner.C.
References processorInfo::available, Refiner::averageLoad, processorInfo::computeSet, InfoRecord::load, Set::numElements(), and Refiner::overLoad.
Referenced by RefinerComm::refine(), and Refiner::refine().
bool Refiner::isLight | ( | processorInfo * | p | ) | [protected, inherited] |
Definition at line 126 of file Refiner.C.
References processorInfo::available, Refiner::averageLoad, and InfoRecord::load.
Referenced by RefinerComm::refine(), and Refiner::refine().
void Refiner::removeComputes | ( | ) | [protected, inherited] |
Definition at line 135 of file Refiner.C.
References Refiner::assign(), c, CmiAbort(), Refiner::deAssign(), Iterator::id, Refiner::numAvail, Refiner::P, and Refiner::processors.
Referenced by RefinerComm::Refine(), RefinerApprox::Refine(), and Refiner::Refine().
int Refiner::refine | ( | ) | [protected, virtual, inherited] |
Reimplemented in RefinerComm.
Definition at line 160 of file Refiner.C.
References Refiner::assign(), Refiner::averageLoad, c, processorInfo::computeSet, Refiner::deAssign(), maxHeap::deleteMax(), CpuTopoDetails::done, Iterator::id, Set::insert(), maxHeap::insert(), Refiner::isHeavy(), Refiner::isLight(), Set::iterator(), InfoRecord::load, computeInfo::migratable, Set::next(), computeInfo::oldProcessor, Refiner::overLoad, p, Refiner::P, processorInfo::pe_speed, Refiner::processors, and Set::remove().
Referenced by RefinerApprox::multirefine(), and Refiner::multirefine().
Definition at line 257 of file Refiner.C.
References _lb_args, Refiner::assign(), Refiner::averageLoad, CmiPrintf(), Refiner::computeAverage(), processorInfo::computeLoad, Refiner::computeMax(), Refiner::computes, processorInfo::computeSet, CkLBArgs::debug(), int, max(), Refiner::numComputes, Refiner::overLoad, Refiner::P, Refiner::processors, and Refiner::refine().
Referenced by RefinerComm::Refine(), and Refiner::Refine().
void Refiner::Refine | ( | int | count, | |
BaseLB::LDStats * | stats, | |||
int * | cur_p, | |||
int * | new_p | |||
) | [inherited] |
Reimplemented in RefinerComm.
Definition at line 320 of file Refiner.C.
References _lb_args, Refiner::assign(), c, Refiner::computeAverage(), Refiner::computes, Refiner::create(), CkLBArgs::debug(), InfoRecord::Id, Iterator::id, Refiner::multirefine(), BaseLB::LDStats::n_objs, Refiner::numComputes, Refiner::P, computeInfo::processor, Refiner::processors, and Refiner::removeComputes().
Referenced by RefineLB::work().
void RefinerComm::create | ( | int | count, | |
BaseLB::LDStats * | _stats, | |||
int * | cur_p | |||
) | [private, inherited] |
This code is derived from RefineLB.C, and RefineLB.C should be rewritten to use this, so there is no code duplication.
Reimplemented from Refiner.
Definition at line 15 of file RefinerComm.C.
References comm, Refiner::computes, Refiner::create(), _LDCommData::from_proc(), _LDCommDesc::get_type(), Refiner::numComputes, CkVec< T >::push_back(), _LDCommData::receiver, computeInfo::recvmessages, and computeInfo::sendmessages.
Referenced by RefinerComm::Refine().
void RefinerComm::computeAverage | ( | ) | [private, virtual, inherited] |
Reimplemented from Refiner.
Definition at line 41 of file RefinerComm.C.
References Refiner::averageLoad, processorInfo::backgroundLoad, RefinerComm::commTable, Refiner::computes, Refiner::numAvail, Refiner::numComputes, RefinerComm::CommTable::overheadOnPe(), Refiner::P, and Refiner::processors.
Referenced by RefinerComm::Refine(), and RefinerComm::refine().
void RefinerComm::processorCommCost | ( | ) | [private, inherited] |
Definition at line 58 of file RefinerComm.C.
References _lb_args, RefinerComm::commTable, Refiner::computes, _LDCommData::from_proc(), idx, RefinerComm::CommTable::increase(), CkLBArgs::migObjOnly(), computeInfo::oldProcessor, and _LDCommData::src_proc.
Referenced by RefinerComm::Refine().
void RefinerComm::assign | ( | computeInfo * | c, | |
int | p | |||
) | [private, inherited] |
Reimplemented from Refiner.
Definition at line 117 of file RefinerComm.C.
References Refiner::processors.
Referenced by RefinerComm::Refine(), and RefinerComm::refine().
void RefinerComm::assign | ( | computeInfo * | c, | |
processorInfo * | p | |||
) | [private, inherited] |
Reimplemented from Refiner.
Definition at line 122 of file RefinerComm.C.
References processorInfo::backgroundLoad, RefinerComm::Messages::byteRecv, RefinerComm::Messages::byteSent, RefinerComm::commAffinity(), RefinerComm::commTable, processorInfo::computeLoad, processorInfo::computeSet, InfoRecord::Id, RefinerComm::CommTable::increase(), Set::insert(), InfoRecord::load, PUP::m, RefinerComm::Messages::msgRecv, RefinerComm::Messages::msgSent, RefinerComm::objCommCost(), RefinerComm::CommTable::overheadOnPe(), and computeInfo::processor.
void RefinerComm::deAssign | ( | computeInfo * | c, | |
processorInfo * | pRec | |||
) | [private, inherited] |
Reimplemented from Refiner.
Definition at line 145 of file RefinerComm.C.
References processorInfo::backgroundLoad, RefinerComm::Messages::byteRecv, RefinerComm::Messages::byteSent, RefinerComm::commAffinity(), RefinerComm::commTable, processorInfo::computeLoad, processorInfo::computeSet, InfoRecord::Id, RefinerComm::CommTable::increase(), InfoRecord::load, PUP::m, RefinerComm::Messages::msgRecv, RefinerComm::Messages::msgSent, RefinerComm::objCommCost(), RefinerComm::CommTable::overheadOnPe(), and Set::remove().
Referenced by RefinerComm::refine().
Definition at line 166 of file RefinerComm.C.
References RefinerComm::Messages::byteRecv, _LDCommData::bytes, RefinerComm::Messages::byteSent, RefinerComm::Messages::clear(), Refiner::computes, _LDCommData::from_proc(), _LDCommDesc::get_destObjs(), _LDCommDesc::get_type(), CkVec< T >::length(), _LDCommData::messages, RefinerComm::Messages::msgRecv, RefinerComm::Messages::msgSent, computeInfo::processor, _LDCommData::receiver, computeInfo::recvmessages, computeInfo::sendmessages, and _LDCommData::src_proc.
Referenced by RefinerComm::assign(), RefinerComm::deAssign(), and RefinerComm::refine().
Definition at line 215 of file RefinerComm.C.
References RefinerComm::Messages::byteRecv, _LDCommData::bytes, RefinerComm::Messages::byteSent, RefinerComm::Messages::clear(), Refiner::computes, _LDCommData::from_proc(), _LDCommDesc::get_destObjs(), _LDCommDesc::get_type(), CkVec< T >::length(), _LDCommData::messages, RefinerComm::Messages::msgRecv, RefinerComm::Messages::msgSent, computeInfo::processor, _LDCommData::receiver, computeInfo::recvmessages, computeInfo::sendmessages, and _LDCommData::src_proc.
Referenced by RefinerComm::assign(), RefinerComm::deAssign(), and RefinerComm::refine().
int RefinerComm::refine | ( | ) | [private, virtual, inherited] |
Reimplemented from Refiner.
Definition at line 271 of file RefinerComm.C.
References _lb_args, RefinerComm::assign(), Refiner::averageLoad, c, CmiPrintf(), RefinerComm::commAffinity(), RefinerComm::computeAverage(), processorInfo::computeSet, RefinerComm::Messages::cost(), RefinerComm::deAssign(), CkLBArgs::debug(), maxHeap::deleteMax(), CpuTopoDetails::done, InfoRecord::Id, Iterator::id, Set::insert(), maxHeap::insert(), Refiner::isHeavy(), Refiner::isLight(), Set::iterator(), InfoRecord::load, PUP::m, computeInfo::migratable, Set::next(), RefinerComm::objCommCost(), Refiner::overLoad, p, RefinerComm::printLoad(), and Refiner::processors.
void RefinerComm::Refine | ( | int | count, | |
BaseLB::LDStats * | stats, | |||
int * | cur_p, | |||
int * | new_p | |||
) | [inherited] |
Reimplemented from Refiner.
Definition at line 395 of file RefinerComm.C.
References _lb_args, RefinerComm::assign(), Refiner::averageLoad, c, RefinerComm::CommTable::clear(), CmiPrintf(), RefinerComm::commTable, RefinerComm::computeAverage(), Refiner::computes, RefinerComm::create(), CkLBArgs::debug(), InfoRecord::Id, Iterator::id, BaseLB::LDStats::makeCommHash(), Refiner::multirefine(), BaseLB::LDStats::n_objs, Refiner::numComputes, RefinerComm::printLoad(), computeInfo::processor, RefinerComm::processorCommCost(), Refiner::processors, and Refiner::removeComputes().
Referenced by RefineCommLB::work().
RefinerComm::CommTable::CommTable | ( | int | p | ) | [inherited] |
Definition at line 449 of file RefinerComm.C.
References RefinerComm::CommTable::byteRecvCount, RefinerComm::CommTable::byteSentCount, RefinerComm::CommTable::clear(), RefinerComm::CommTable::count, RefinerComm::CommTable::msgRecvCount, and RefinerComm::CommTable::msgSentCount.
RefinerComm::CommTable::~CommTable | ( | ) | [inherited] |
Definition at line 459 of file RefinerComm.C.
References RefinerComm::CommTable::byteRecvCount, RefinerComm::CommTable::byteSentCount, RefinerComm::CommTable::msgRecvCount, and RefinerComm::CommTable::msgSentCount.
void RefinerComm::CommTable::clear | ( | ) | [inherited] |
Definition at line 467 of file RefinerComm.C.
References RefinerComm::CommTable::byteRecvCount, RefinerComm::CommTable::byteSentCount, RefinerComm::CommTable::count, RefinerComm::CommTable::msgRecvCount, and RefinerComm::CommTable::msgSentCount.
Referenced by RefinerComm::CommTable::CommTable(), and RefinerComm::Refine().
Definition at line 473 of file RefinerComm.C.
References RefinerComm::CommTable::byteRecvCount, RefinerComm::CommTable::byteSentCount, RefinerComm::CommTable::msgRecvCount, and RefinerComm::CommTable::msgSentCount.
Referenced by RefinerComm::assign(), RefinerComm::deAssign(), and RefinerComm::processorCommCost().
double RefinerComm::CommTable::overheadOnPe | ( | int | pe | ) | [inherited] |
Definition at line 485 of file RefinerComm.C.
References _lb_args, CkLBArgs::alpha(), CkLBArgs::beta(), RefinerComm::CommTable::byteRecvCount, RefinerComm::CommTable::byteSentCount, RefinerComm::CommTable::msgRecvCount, and RefinerComm::CommTable::msgSentCount.
Referenced by RefinerComm::assign(), RefinerComm::computeAverage(), and RefinerComm::deAssign().
int * RefinerTemp::AllocProcs | ( | int | count, | |
BaseLB::LDStats * | stats | |||
) | [static, inherited] |
This code is derived from RefineLB.C, and RefineLB.C should be rewritten to use this, so there is no code duplication.
Definition at line 12 of file RefinerTemp.C.
References BaseLB::LDStats::n_objs.
Referenced by TempAwareRefineLB::work().
void RefinerTemp::FreeProcs | ( | int * | bufs | ) | [static, inherited] |
Definition at line 17 of file RefinerTemp.C.
Referenced by TempAwareRefineLB::work().
void RefinerTemp::create | ( | int | count, | |
BaseLB::LDStats * | stats, | |||
int * | cur_p | |||
) | [protected, inherited] |
Definition at line 22 of file RefinerTemp.C.
References processorInfo::available, processorInfo::backgroundLoad, CmiAbort(), BaseLB::LDStats::complete_flag, processorInfo::computeLoad, RefinerTemp::computes, processorInfo::computeSet, CrnRand(), _LDOMid::id, computeInfo::id, InfoRecord::Id, _ckGroupID::idx, InfoRecord::load, LDObjData::migratable, computeInfo::migratable, BaseLB::LDStats::n_objs, RefinerTemp::numAvail, BaseLB::LDStats::objData, LDObjData::objID(), computeInfo::oldProcessor, LDObjData::omID(), computeInfo::omid, RefinerTemp::P, processorInfo::pe_speed, computeInfo::processor, RefinerTemp::processors, BaseLB::LDStats::procs, and LDObjData::wallTime.
Referenced by RefinerTemp::Refine().
void RefinerTemp::assign | ( | computeInfo * | c, | |
int | p | |||
) | [protected, inherited] |
Definition at line 68 of file RefinerTemp.C.
References RefinerTemp::processors.
Referenced by RefinerTemp::Refine(), RefinerTemp::refine(), and RefinerTemp::removeComputes().
void RefinerTemp::assign | ( | computeInfo * | c, | |
processorInfo * | p | |||
) | [protected, inherited] |
Definition at line 73 of file RefinerTemp.C.
References processorInfo::backgroundLoad, processorInfo::computeLoad, processorInfo::computeSet, InfoRecord::Id, Set::insert(), InfoRecord::load, computeInfo::processor, and RefinerTemp::procFreq.
void RefinerTemp::deAssign | ( | computeInfo * | c, | |
processorInfo * | pRec | |||
) | [protected, inherited] |
Definition at line 87 of file RefinerTemp.C.
References processorInfo::backgroundLoad, processorInfo::computeLoad, processorInfo::computeSet, InfoRecord::Id, InfoRecord::load, computeInfo::oldProcessor, computeInfo::processor, RefinerTemp::procFreq, and Set::remove().
Referenced by RefinerTemp::refine(), and RefinerTemp::removeComputes().
void RefinerTemp::computeAverage | ( | ) | [protected, virtual, inherited] |
Definition at line 96 of file RefinerTemp.C.
References RefinerTemp::averageLoad, processorInfo::backgroundLoad, RefinerTemp::computes, InfoRecord::Id, RefinerTemp::numAvail, RefinerTemp::numComputes, RefinerTemp::P, RefinerTemp::processors, RefinerTemp::procFreq, and RefinerTemp::totalInst.
Referenced by RefinerTemp::multirefine(), and RefinerTemp::Refine().
double RefinerTemp::computeMax | ( | ) | [protected, inherited] |
Definition at line 110 of file RefinerTemp.C.
References InfoRecord::Id, InfoRecord::load, max(), RefinerTemp::P, RefinerTemp::processors, and RefinerTemp::procFreqNew.
Referenced by RefinerTemp::multirefine().
double RefinerTemp::computeMax | ( | int * | maxPe | ) | [protected, inherited] |
Definition at line 122 of file RefinerTemp.C.
References InfoRecord::Id, InfoRecord::load, max(), RefinerTemp::P, RefinerTemp::processors, and RefinerTemp::procFreqNew.
bool RefinerTemp::isHeavy | ( | processorInfo * | p | ) | [protected, inherited] |
Definition at line 140 of file RefinerTemp.C.
References processorInfo::available, processorInfo::computeSet, InfoRecord::Id, InfoRecord::load, Set::numElements(), RefinerTemp::overLoad, RefinerTemp::procFreqNew, RefinerTemp::sumFreqs, and RefinerTemp::totalInst.
Referenced by RefinerTemp::refine().
bool RefinerTemp::isLight | ( | processorInfo * | p | ) | [protected, inherited] |
Definition at line 150 of file RefinerTemp.C.
References processorInfo::available, InfoRecord::Id, InfoRecord::load, RefinerTemp::procFreqNew, RefinerTemp::sumFreqs, and RefinerTemp::totalInst.
Referenced by RefinerTemp::refine().
void RefinerTemp::removeComputes | ( | ) | [protected, inherited] |
Definition at line 160 of file RefinerTemp.C.
References RefinerTemp::assign(), c, CmiAbort(), RefinerTemp::deAssign(), Iterator::id, RefinerTemp::numAvail, RefinerTemp::P, and RefinerTemp::processors.
Referenced by RefinerTemp::Refine().
int RefinerTemp::refine | ( | ) | [protected, virtual, inherited] |
Definition at line 185 of file RefinerTemp.C.
References RefinerTemp::assign(), c, processorInfo::computeSet, RefinerTemp::deAssign(), maxHeap::deleteMax(), CpuTopoDetails::done, InfoRecord::Id, computeInfo::id, Iterator::id, Set::insert(), maxHeap::insert(), RefinerTemp::isHeavy(), RefinerTemp::isLight(), Set::iterator(), InfoRecord::load, computeInfo::migratable, Set::next(), computeInfo::oldProcessor, RefinerTemp::overLoad, p, RefinerTemp::P, RefinerTemp::processors, RefinerTemp::procFreq, RefinerTemp::procFreqNew, Set::remove(), RefinerTemp::sumFreqs, and RefinerTemp::totalInst.
Referenced by RefinerTemp::multirefine().
int RefinerTemp::multirefine | ( | ) | [protected, inherited] |
Definition at line 298 of file RefinerTemp.C.
References _lb_args, RefinerTemp::averageLoad, CmiPrintf(), RefinerTemp::computeAverage(), RefinerTemp::computeMax(), CkLBArgs::debug(), int, max(), RefinerTemp::overLoad, RefinerTemp::procFreqNew, RefinerTemp::refine(), RefinerTemp::sumFreqs, and RefinerTemp::totalInst.
Referenced by RefinerTemp::Refine().
Definition at line 354 of file RefinerTemp.C.
References RefinerTemp::computes, RefinerTemp::overLoad, RefinerTemp::P, RefinerTemp::processors, RefinerTemp::procFreq, RefinerTemp::procFreqNew, and RefinerTemp::sumFreqs.
void RefinerTemp::Refine | ( | int | count, | |
BaseLB::LDStats * | stats, | |||
int * | cur_p, | |||
int * | new_p | |||
) | [inherited] |
Definition at line 367 of file RefinerTemp.C.
References _lb_args, RefinerTemp::assign(), c, RefinerTemp::computeAverage(), RefinerTemp::computes, RefinerTemp::create(), CkLBArgs::debug(), InfoRecord::Id, Iterator::id, computeInfo::id, RefinerTemp::multirefine(), BaseLB::LDStats::n_objs, RefinerTemp::numComputes, RefinerTemp::P, computeInfo::processor, RefinerTemp::processors, and RefinerTemp::removeComputes().
Referenced by TempAwareRefineLB::work().
Definition at line 35 of file RefineSwapLB.C.
void RefineSwapLB::work | ( | LDStats * | stats | ) | [inherited] |
========================== INITIALIZATION =============================
============================= STRATEGY ================================
============================== CLEANUP ================================
Definition at line 248 of file RefineSwapLB.C.
References _lb_args, Converse::CkMyPe(), ObjGraph::convertDecisions(), CkLBArgs::debug(), endl(), ProcArray::getAverageLoad(), getMax(), ProcArray::procs, refine(), refineSwap(), and ObjGraph::vertices.
Definition at line 28 of file ScotchLB.C.
void ScotchLB::work | ( | LDStats * | stats | ) | [inherited] |
========================== INITIALIZATION =============================
============================= STRATEGY ================================
remove duplicate edges from recvFrom
the object load is normalized to an integer between 0 and 256
============================== CLEANUP ================================
Definition at line 32 of file ScotchLB.C.
References CmiWallTimer(), ObjGraph::convertDecisions(), free(), int, malloc(), ProcArray::procs, start_time, and ObjGraph::vertices.
Definition at line 25 of file ScotchRefineLB.C.
void ScotchRefineLB::work | ( | LDStats * | stats | ) | [inherited] |
========================== INITIALIZATION =============================
============================= STRATEGY ================================
remove duplicate edges from recvFrom
the object load is normalized to an integer between 0 and 256
============================== CLEANUP ================================
Definition at line 29 of file ScotchRefineLB.C.
References ObjGraph::convertDecisions(), free(), int, malloc(), ProcArray::procs, and ObjGraph::vertices.
Definition at line 29 of file ScotchTopoLB.C.
void ScotchTopoLB::work | ( | LDStats * | stats | ) | [inherited] |
========================== INITIALIZATION =============================
============================= STRATEGY ================================
remove duplicate edges from recvFrom
the object load is normalized to an integer between 0 and 256
============================== CLEANUP ================================
Definition at line 33 of file ScotchTopoLB.C.
References CmiWallTimer(), ObjGraph::convertDecisions(), free(), TopoManager::getDimNX(), TopoManager::getDimNY(), TopoManager::getDimNZ(), int, malloc(), ProcArray::procs, start_time, tmgr, and ObjGraph::vertices.
void TeamLB::work | ( | LDStats * | stats | ) | [inherited] |
METIS function that performs a balanced k-way partitioning of the graph, considering the communication volume (hence the "V" in the name of the function).
extern "C" void METIS_PartGraphRecursive(int*, int*, int*, int*, int*, int*, int*, int*, int*, int*, int*); Load balancing function. It uses METIS in a two step approach. The first step consists in splitting the objects into teams. METIS is able to minimize the communication volume across the teams while balancing the load among the different teams. The second step goes deep in each team to balance the load in the processors belonging to that particular team.
========================== INITIALIZATION =============================
============================= STRATEGY ================================
both object load and number of bytes exchanged are normalized to an integer between 0 and 256
============================== CLEANUP ================================
Definition at line 47 of file TeamLB.C.
References _lb_args, adjncy, adjwgt, Converse::CkMyPe(), ObjGraph::convertDecisions(), CkLBArgs::debug(), edgecut, int, mapping, METIS_OPTION_NUMBERING, METIS_PartGraphRecursive(), METIS_SetDefaultOptions(), ncon, TeamLB::numberTeams, TeamLB::teamSize, tpwgts, ubvec, ObjGraph::vertices, vsize, vwgt, and xadj.
Definition at line 31 of file TempAwareGreedyLB.C.
void TempAwareGreedyLB::work | ( | LDStats * | stats | ) | [inherited] |
========================== INITIALIZATION =============================
============================= STRATEGY ================================
============================== CLEANUP ================================
Definition at line 51 of file TempAwareGreedyLB.C.
References _lb_args, Converse::CkMyPe(), ObjGraph::convertDecisions(), CkLBArgs::debug(), ProcInfo::getProcId(), p, ProcArray::procs, ProcArray::resetTotalLoad(), sort(), ProcInfo::totalLoad(), and ObjGraph::vertices.
Definition at line 55 of file TempAwareRefineLB.C.
Referenced by printCurrentTemperature().
TempAwareRefineLB::TempAwareRefineLB | ( | const CkLBOptions & | opt | ) | [inherited] |
Definition at line 110 of file TempAwareRefineLB.C.
References TempAwareRefineLB::avgChipTemp, CcdCallOnConditionKeep(), Converse::CkMyPe(), Converse::CkNumPes(), CmiAbort(), CmiWallTimer(), cpufreq_sysfs_write(), TempAwareRefineLB::freqs, TempAwareRefineLB::freqsEffect, TempAwareRefineLB::numAvailFreqs, TempAwareRefineLB::printCurrentTemperature, TempAwareRefineLB::procFreq, TempAwareRefineLB::procFreqNew, TempAwareRefineLB::procFreqNewEffect, TempAwareRefineLB::procFreqPtr, TempAwareRefineLB::procTemp, quietModeRequested, and snprintf().
void TempAwareRefineLB::populateEffectiveFreq | ( | int | numProcs | ) | [inherited] |
Definition at line 211 of file TempAwareRefineLB.C.
References TempAwareRefineLB::freqs, TempAwareRefineLB::freqsEffect, TempAwareRefineLB::numAvailFreqs, TempAwareRefineLB::procFreq, TempAwareRefineLB::procFreqEffect, TempAwareRefineLB::procFreqNew, and TempAwareRefineLB::procFreqNewEffect.
Referenced by TempAwareRefineLB::work().
Definition at line 233 of file TempAwareRefineLB.C.
void TempAwareRefineLB::changeFreq | ( | int | nFreq | ) | [inherited] |
Definition at line 239 of file TempAwareRefineLB.C.
References Converse::CkMyPe(), and cpufreq_sysfs_write().
void TempAwareRefineLB::work | ( | LDStats * | stats | ) | [inherited] |
PLEASE COMMENT OUT .. TESTING ONLY
PLEASE COMMENT OUT .. TESTING ONLY
Definition at line 322 of file TempAwareRefineLB.C.
References RefinerTemp::AllocProcs(), TempAwareRefineLB::avgChipTemp, CmiWallTimer(), RefinerTemp::FreeProcs(), TempAwareRefineLB::freqs, computeInfo::id, TempAwareRefineLB::numAvailFreqs, TempAwareRefineLB::numChips, TempAwareRefineLB::numProcs, LDObjData::objID(), TempAwareRefineLB::populateEffectiveFreq(), TempAwareRefineLB::procFreq, TempAwareRefineLB::procFreqEffect, TempAwareRefineLB::procFreqNew, TempAwareRefineLB::procFreqNewEffect, TempAwareRefineLB::procFreqPtr, TempAwareRefineLB::procTemp, RefinerTemp::Refine(), and x.
Definition at line 26 of file TreeMatchLB.C.
void TreeMatchLB::work | ( | BaseLB::LDStats * | stats | ) | [inherited] |
========================= 1st Do Load Balancing =======================
========================== INITIALIZATION =============================
============================= STRATEGY ================================
============================== CLEANUP ================================
====================== 2nd do Topology aware mapping ====================
Definition at line 67 of file TreeMatchLB.C.
References _lb_args, build_abe_topology(), build_tree_from_topology(), _LDCommData::bytes, calloc(), Converse::CkMyPe(), BaseLB::LDStats::commData, ObjGraph::convertDecisions(), CkLBArgs::debug(), display_topology(), free(), free_topology(), _LDCommData::from_proc(), _LDCommDesc::get_destObj(), BaseLB::LDStats::getHash(), ProcInfo::getProcId(), CkVec< T >::getVec(), BaseLB::LDStats::makeCommHash(), malloc(), map_topology_simple(), BaseLB::LDStats::n_comm, BaseLB::LDStats::nprocs(), p, ProcArray::procs, _LDCommData::receiver, _LDCommData::recv_type(), ProcArray::resetTotalLoad(), _LDCommData::sender, sort(), BaseLB::LDStats::to_proc, ProcInfo::totalLoad(), and ObjGraph::vertices.
void WSLB::staticAtSync | ( | void * | data | ) | [static, inherited] |
Definition at line 34 of file WSLB.C.
References WSLB::AtSync().
Referenced by WSLB::WSLB().
WSLB::WSLB | ( | const CkLBOptions & | opt | ) | [inherited] |
Definition at line 41 of file WSLB.C.
References _lbtopo, Converse::CkMyPe(), Converse::CkNumPes(), CmiAbort(), CmiPrintf(), LBTopoLookup(), WSLB::mig_msgs, WSLB::mig_msgs_received, WSLB::migrates_completed, WSLB::migrates_expected, WSLB::myStats, WSLB::mystep, WSLB::neighbor_pes, quietModeRequested, WSLB::receive_stats_ready, WSLB::staticAtSync(), WSLB::staticMigrated(), WSLB::stats_msg_count, WSLB::statsDataList, WSLB::statsMsgsList, WSLB::topo, WSLB::usage, WSLB::usage_int_err, and WSLB::vacate.
WSLB::~WSLB | ( | ) | [inherited] |
Definition at line 91 of file WSLB.C.
References _lbdb, WSLB::mig_msgs, WSLB::neighbor_pes, WSLB::statsDataList, and WSLB::statsMsgsList.
void WSLB::FindNeighbors | ( | ) | [private, inherited] |
Definition at line 108 of file WSLB.C.
References Converse::CkMyPe(), LBTopology::max_neighbors(), maxneighbors, WSLB::mig_msgs, WSLB::mig_msgs_expected, WSLB::neighbor_pes, LBTopology::neighbors(), WSLB::statsDataList, WSLB::statsMsgsList, and WSLB::topo.
Referenced by WSLB::AtSync(), WSLB::ReceiveMigration(), and WSLB::ReceiveStats().
void WSLB::AtSync | ( | void | ) | [inherited] |
Definition at line 126 of file WSLB.C.
References WSLB::AssembleStats(), Converse::CkMyPe(), WSLB::FindNeighbors(), WSLB::mig_msgs_expected, WSLB::MigrationDone(), msg, WSLB::neighbor_pes, WSLB::QueryBalanceNow(), WSLB::ReceiveStats(), WSLB::start_lb_time, and WSLB::step().
Referenced by WSLB::staticAtSync().
WSLBStatsMsg * WSLB::AssembleStats | ( | ) | [private, inherited] |
Definition at line 153 of file WSLB.C.
References _lb_args, WSLBStatsMsg::bg_cputime, WSLBStatsMsg::bg_walltime, Converse::CkMyPe(), CrnRand(), CkLBArgs::debug(), WSLBStatsMsg::from_pe, WSLBStatsMsg::idletime, msg, WSLB::myStats, WSLBStatsMsg::obj_cputime, WSLBStatsMsg::obj_walltime, WSLBStatsMsg::proc_speed, WSLBStatsMsg::serial, WSLBStatsMsg::total_cputime, WSLBStatsMsg::total_walltime, WSLBStatsMsg::usage, WSLB::usage, WSLB::usage_int_err, WSLB::vacate, and WSLBStatsMsg::vacate_me.
Referenced by WSLB::AtSync().
void WSLB::Migrated | ( | LDObjHandle | h, | |
int | waitBarrier | |||
) | [inherited] |
Definition at line 235 of file WSLB.C.
References WSLB::migrates_completed, WSLB::migrates_expected, and WSLB::MigrationDone().
Referenced by CreateLBFunc_Def().
void WSLB::ReceiveStats | ( | WSLBStatsMsg * | m | ) | [inherited] |
Definition at line 247 of file WSLB.C.
References WSLBStatsMsg::bg_cputime, WSLB::LDStats::bg_cputime, WSLBStatsMsg::bg_walltime, WSLB::LDStats::bg_walltime, Converse::CkMyPe(), WSLB::FindNeighbors(), MigrateInfo::from_pe, WSLB::LDStats::from_pe, WSLBStatsMsg::from_pe, WSLBStatsMsg::idletime, WSLB::LDStats::idletime, WSLB::mig_msgs_expected, LBMigrateMsg::moves, LBMigrateMsg::n_moves, WSLB::neighbor_pes, MigrateInfo::obj, WSLBStatsMsg::obj_cputime, WSLB::LDStats::obj_cputime, WSLBStatsMsg::obj_walltime, WSLB::LDStats::obj_walltime, WSLBStatsMsg::proc_speed, WSLB::LDStats::proc_speed, WSLB::receive_stats_ready, WSLB::stats_msg_count, WSLB::statsDataList, WSLB::statsMsgsList, WSLB::Strategy(), MigrateInfo::to_pe, WSLBStatsMsg::total_cputime, WSLB::LDStats::total_cputime, WSLBStatsMsg::total_walltime, WSLB::LDStats::total_walltime, WSLBStatsMsg::usage, WSLB::LDStats::usage, WSLBStatsMsg::vacate_me, and WSLB::LDStats::vacate_me.
Referenced by WSLB::AtSync().
void WSLB::ReceiveMigration | ( | LBMigrateMsg * | msg | ) | [inherited] |
Definition at line 324 of file WSLB.C.
References Converse::CkMyPe(), WSLB::FindNeighbors(), MigrateInfo::from_pe, PUP::m, WSLB::mig_msgs, WSLB::mig_msgs_expected, WSLB::mig_msgs_received, WSLB::migrates_completed, WSLB::migrates_expected, WSLB::MigrationDone(), LBMigrateMsg::moves, LBMigrateMsg::n_moves, WSLB::neighbor_pes, and MigrateInfo::to_pe.
void WSLB::MigrationDone | ( | void | ) | [inherited] |
Definition at line 367 of file WSLB.C.
References Converse::CkMyPe(), WSLB::migrates_completed, WSLB::migrates_expected, WSLB::mystep, WSLB::start_lb_time, and WSLB::step().
Referenced by WSLB::AtSync(), WSLB::Migrated(), and WSLB::ReceiveMigration().
Definition at line 390 of file WSLB.C.
References Converse::CkMyPe(), WSLB::first_step_time, and WSLB::vacate.
Referenced by WSLB::AtSync().
LBMigrateMsg * WSLB::Strategy | ( | WSLB::LDStats * | stats, | |
int | count | |||
) | [protected, virtual, inherited] |
Definition at line 411 of file WSLB.C.
References _lb_args, Converse::CkMyPe(), Converse::CkNumPes(), CkLBArgs::debug(), maxHeap::deleteMax(), minHeap::deleteMin(), MigrateInfo::from_pe, WSLB::LDStats::from_pe, InfoRecord::Id, WSLB::LDStats::idletime, maxHeap::insert(), minHeap::insert(), CkVec< T >::insertAtEnd(), CkVec< T >::length(), InfoRecord::load, LBMigrateMsg::moves, msg, WSLB::myStats, LBMigrateMsg::n_moves, MigrateInfo::obj, p, WSLB::proc_speed, MigrateInfo::to_pe, WSLB::LDStats::total_walltime, WSLB::usage, WSLB::LDStats::usage, and WSLB::vacate.
Referenced by WSLB::ReceiveStats().
void ZoltanLB::work | ( | LDStats * | stats | ) | [private, inherited] |
========================== INITIALIZATION =============================
============================= STRATEGY ================================
remove duplicate edges from recvFrom
the object load is normalized to an integer between 0 and 256
Definition at line 68 of file ZoltanLB.C.
References _lb_args, Converse::CkMyPe(), ObjGraph::convertDecisions(), CkLBArgs::debug(), McastSrc::destList, HGRAPH_DATA::edgeGID, HGRAPH_DATA::edgWgt, free(), get_hypergraph(), get_hypergraph_edge_size(), get_hypergraph_edge_wgts(), get_hypergraph_size(), get_number_of_vertices(), get_vertex_list(), index, int, malloc(), HGRAPH_DATA::nborGID, HGRAPH_DATA::nborIndex, HGRAPH_DATA::numAllNbors, HGRAPH_DATA::numMyHEdges, HGRAPH_DATA::numMyVertices, HGRAPH_DATA::ogr, HGRAPH_DATA::parr, ProcArray::procs, ObjGraph::vertices, HGRAPH_DATA::vtxGID, and HGRAPH_DATA::vtxWgt.
const unsigned int doublingPrimes[] [static] |
Definition at line 59 of file ckcausalmlog.C.
Referenced by _restartHandler(), CkMlogRestart(), and CentralLB::ProcessReceiveMigration().
Definition at line 243 of file ckcausalmlog.C.
Referenced by _distributedLocationHandler(), and CentralLB::ResumeClients().
char willContinue |
Definition at line 21 of file manager.C.
Referenced by manager_init(), and CentralLB::WillIbekilled().
char* se_avail_vector |
Definition at line 18 of file manager.C.
Referenced by handler(), and CentralLB::ResumeFromReallocCheckpoint().
char* _shrinkexpand_basedir |
Definition at line 184 of file init.C.
Referenced by _parseCommandLineOpts(), and CentralLB::CheckForRealloc().
Definition at line 49 of file CentralLB.C.
Referenced by handler(), CentralLB::ResumeFromReallocCheckpoint(), and CentralLB::WillIbekilled().
Definition at line 52 of file CentralLB.C.
Definition at line 53 of file CentralLB.C.
Definition at line 238 of file ckcausalmlog.C.
Referenced by _distributedLocationHandler(), _sendBackLocationHandler(), and CentralLB::Migrated().
LDHandle* loadBalancer_pointers [static] |
Definition at line 693 of file CentralLB.C.
Definition at line 52 of file CentralLB.C.
double upper_threshold |
Definition at line 49 of file CommAwareRefineLB.C.
Referenced by PrintProcLoad(), and CommAwareRefineLB::work().
double lower_threshold |
Definition at line 50 of file CommAwareRefineLB.C.
Referenced by PrintProcLoad(), and CommAwareRefineLB::work().
Author: jjgalvez@illinois.edu (Juan Galvez) Greedy algorithm to minimize cpu max_load and object migrations.
Can find solution equal or close to regular Greedy with less (sometimes much less) migrations. The amount of migrations that the user can tolerate is passed via the command-line option +LBPercentMoves (as percentage of chares that can be moved).
If LBPercentMoves is not passed, strategy assumes it can move all objects. In this case, the algorithm will give preference to minimizing cpu max_load. It will still move less than greedy, but the amount of migrations will depend very much on the particular case (object load distribution and processor background loads),
supports processor avail bitvector supports nonmigratable attrib
Definition at line 19 of file LBDatabase.C.
Referenced by _deliverForBocMsg(), BaseLB::BaseLB(), CkCheckpointMgr::Checkpoint(), CkLocMgr::CkLocMgr(), MetaBalancer::init(), BaseLB::initLB(), MetaBalancer::pup(), CentralLB::~CentralLB(), DistBaseLB::~DistBaseLB(), HbmLB::~HbmLB(), HybridBaseLB::~HybridBaseLB(), NborBaseLB::~NborBaseLB(), NullLB::~NullLB(), and WSLB::~WSLB().
Definition at line 29 of file LBDatabase.C.
Referenced by DistributedLB::AfterLBReduction(), CentralLB::ApplyDecision(), WSLB::AssembleStats(), NborBaseLB::AtSync(), DistBaseLB::AtSync(), CkMigratable::AtSync(), HybridBaseLB::buildStats(), CentralLB::CheckMigrationComplete(), CkLocRec::CkLocRec(), HybridBaseLB::CollectInfo(), CkMigratable::commonInit(), TopoLB::computePartitions(), TopoCentLB::computePartitions(), MetaBalancer::ContributeStats(), RefinerComm::Messages::cost(), CreateLBFunc_Def(), HybridBaseLB::createMigrateMsg(), DistBaseLB::DistBaseLB(), DistributedLB::DoneGossip(), DistributedLB::DoneWithLBPhase(), CentralLB::endMigrationDone(), GreedyRefineLB::fillData(), GridHybridSeedLB::Find_Minimum_PE(), GridHybridLB::Find_Minimum_PE(), GridCommLB::Find_Minimum_PE(), LBInfo::getInfo(), LBDB::GetObjData(), HybridBaseLB::GetObjsToMigrate(), GreedyRefineLB::greedyLB(), GreedyRefineLB::GreedyRefineLB(), HbmLB::HbmLB(), HybridBaseLB::HybridBaseLB(), MetaBalancer::init(), GridMetisLB::Initialize_Object_Data(), GridHybridSeedLB::Initialize_Object_Data(), GridHybridLB::Initialize_Object_Data(), DistributedLB::InitLB(), CentralLB::initLB(), LBDB::LBDB(), LDMulticastSend(), LDProcessorSpeed(), LDSend(), DistBaseLB::LoadBalance(), CentralLB::LoadBalance(), HybridBaseLB::Loadbalancing(), HbmLB::Loadbalancing(), DistributedLB::LoadReduction(), GridHybridSeedLB::Map_NonMigratable_Objects_To_PEs(), GridHybridLB::Map_NonMigratable_Objects_To_PEs(), GridCommLB::Map_NonMigratable_Objects_To_PEs(), OrbLB::mapPartitionsToNodes(), MetaLBInit::MetaLBInit(), NborBaseLB::MigrationDone(), HybridBaseLB::MigrationDone(), DistBaseLB::MigrationDone(), CentralLB::MigrationDoneImpl(), MulticastAgent::MulticastAgent(), RefinerTemp::multirefine(), Refiner::multirefine(), MulticastAgent::my_preferred_procs(), NborBaseLB::NborBaseLB(), HybridBaseLB::NotifyObjectMigrationDone(), LBDB::ObjDataCount(), ObjGraph::ObjGraph(), RefinerComm::CommTable::overheadOnPe(), GridMetisLB::Partition_Objects_Into_Clusters(), GridHybridSeedLB::Partition_Objects_Into_Clusters(), GridHybridLB::Partition_Objects_Into_Clusters(), CentralLB::preprocess(), LBInfo::print(), HybridBaseLB::ProcessAtSync(), HbmLB::ProcessAtSync(), DistBaseLB::ProcessMigrationDecision(), RefinerComm::processorCommCost(), CentralLB::ProcessReceiveMigration(), HybridBaseLB::PropagateInfo(), BaseLB::ProcStats::pup(), BaseLB::LDStats::pup(), GridMetisLB::QueryBalanceNow(), GridHybridSeedLB::QueryBalanceNow(), GridHybridLB::QueryBalanceNow(), GridCommRefineLB::QueryBalanceNow(), GridCommLB::QueryBalanceNow(), CentralLB::readStatsMsgs(), OrbLB::rec_divide(), MetaBalancer::ReceiveMinStats(), GreedyRefineLB::receiveSolutions(), NborBaseLB::ReceiveStats(), HybridBaseLB::ReceiveVectorMigration(), RefinerTemp::Refine(), RefinerComm::Refine(), RefinerComm::refine(), RefinerApprox::Refine(), Refiner::Refine(), NborBaseLB::ResumeClients(), HybridBaseLB::ResumeClients(), HbmLB::ResumeClients(), DistBaseLB::ResumeClients(), GreedyRefineLB::sendSolution(), CkMigratable::staticResumeFromSync(), WSLB::Strategy(), NeighborLB::Strategy(), HybridBaseLB::Strategy(), DistributedLB::Strategy(), CentralLB::Strategy(), HybridBaseLB::TotalObjMigrated(), HybridBaseLB::VectorDone(), VectorStrategy(), ZoltanLB::work(), TreeMatchLB::work(), TopoLB::work(), TopoCentLB::work(), TempAwareGreedyLB::work(), TempAwareCommLB::work(), TeamLB::work(), RefineTopoLB::work(), RefineSwapLB::work(), RefineLB::work(), RefineKLB::work(), RandCentLB::work(), OrbLB::work(), MetisLB::work(), GridMetisLB::work(), GridHybridSeedLB::work(), GridHybridLB::work(), GridCommRefineLB::work(), GridCommLB::work(), GreedyRefineLB::work(), GreedyLB::work(), GreedyCommLB::work(), GreedyAgentLB::work(), CommLB::work(), CommAwareRefineLB::work(), CentralLB::writeStatsMsgs(), and CkMigratable::~CkMigratable().
int _lb_predict = 0 |
Definition at line 30 of file LBDatabase.C.
Referenced by _loadbalancerInit(), CentralLB::initLB(), CentralLB::predictorOff(), CentralLB::predictorOn(), and CentralLB::preprocess().
int _lb_predict_delay = 10 |
int _lb_predict_window = 20 |
Definition at line 32 of file LBDatabase.C.
Referenced by _loadbalancerInit(), CentralLB::initLB(), and CentralLB::predictorOn().
bool _lb_psizer_on = false |
LBDBRegistry lbRegistry [static] |
Definition at line 92 of file LBDatabase.C.
Definition at line 363 of file LBDatabase.C.
Referenced by LBDatabase::initnodeFn(), and LBDatabase::pup().
LBRealType* _expectedLoad = NULL [static] |
Definition at line 365 of file LBDatabase.C.
Referenced by LBDatabase::initnodeFn(), and LBDatabase::LastLBInfo::LastLBInfo().
flag to write all LB decisions
Definition at line 19 of file LBSimulation.C.
Referenced by CkLBArgs::lbversion(), _LDCommDesc::pup(), and PUPmarshall().
Definition at line 29 of file LBDatabase.C.
Referenced by DistributedLB::AfterLBReduction(), CentralLB::ApplyDecision(), WSLB::AssembleStats(), NborBaseLB::AtSync(), DistBaseLB::AtSync(), CkMigratable::AtSync(), HybridBaseLB::buildStats(), CentralLB::CheckMigrationComplete(), CkLocRec::CkLocRec(), HybridBaseLB::CollectInfo(), CkMigratable::commonInit(), TopoLB::computePartitions(), TopoCentLB::computePartitions(), MetaBalancer::ContributeStats(), RefinerComm::Messages::cost(), CreateLBFunc_Def(), HybridBaseLB::createMigrateMsg(), DistBaseLB::DistBaseLB(), DistributedLB::DoneGossip(), DistributedLB::DoneWithLBPhase(), CentralLB::endMigrationDone(), GreedyRefineLB::fillData(), GridHybridSeedLB::Find_Minimum_PE(), GridHybridLB::Find_Minimum_PE(), GridCommLB::Find_Minimum_PE(), LBInfo::getInfo(), LBDB::GetObjData(), HybridBaseLB::GetObjsToMigrate(), GreedyRefineLB::greedyLB(), GreedyRefineLB::GreedyRefineLB(), HbmLB::HbmLB(), HybridBaseLB::HybridBaseLB(), MetaBalancer::init(), GridMetisLB::Initialize_Object_Data(), GridHybridSeedLB::Initialize_Object_Data(), GridHybridLB::Initialize_Object_Data(), DistributedLB::InitLB(), CentralLB::initLB(), LBDB::LBDB(), LDMulticastSend(), LDProcessorSpeed(), LDSend(), DistBaseLB::LoadBalance(), CentralLB::LoadBalance(), HybridBaseLB::Loadbalancing(), HbmLB::Loadbalancing(), DistributedLB::LoadReduction(), GridHybridSeedLB::Map_NonMigratable_Objects_To_PEs(), GridHybridLB::Map_NonMigratable_Objects_To_PEs(), GridCommLB::Map_NonMigratable_Objects_To_PEs(), OrbLB::mapPartitionsToNodes(), MetaLBInit::MetaLBInit(), NborBaseLB::MigrationDone(), HybridBaseLB::MigrationDone(), DistBaseLB::MigrationDone(), CentralLB::MigrationDoneImpl(), MulticastAgent::MulticastAgent(), RefinerTemp::multirefine(), Refiner::multirefine(), MulticastAgent::my_preferred_procs(), NborBaseLB::NborBaseLB(), HybridBaseLB::NotifyObjectMigrationDone(), LBDB::ObjDataCount(), ObjGraph::ObjGraph(), RefinerComm::CommTable::overheadOnPe(), GridMetisLB::Partition_Objects_Into_Clusters(), GridHybridSeedLB::Partition_Objects_Into_Clusters(), GridHybridLB::Partition_Objects_Into_Clusters(), CentralLB::preprocess(), LBInfo::print(), HybridBaseLB::ProcessAtSync(), HbmLB::ProcessAtSync(), DistBaseLB::ProcessMigrationDecision(), RefinerComm::processorCommCost(), CentralLB::ProcessReceiveMigration(), HybridBaseLB::PropagateInfo(), BaseLB::ProcStats::pup(), BaseLB::LDStats::pup(), GridMetisLB::QueryBalanceNow(), GridHybridSeedLB::QueryBalanceNow(), GridHybridLB::QueryBalanceNow(), GridCommRefineLB::QueryBalanceNow(), GridCommLB::QueryBalanceNow(), CentralLB::readStatsMsgs(), OrbLB::rec_divide(), MetaBalancer::ReceiveMinStats(), GreedyRefineLB::receiveSolutions(), NborBaseLB::ReceiveStats(), HybridBaseLB::ReceiveVectorMigration(), RefinerTemp::Refine(), RefinerComm::Refine(), RefinerComm::refine(), RefinerApprox::Refine(), Refiner::Refine(), NborBaseLB::ResumeClients(), HybridBaseLB::ResumeClients(), HbmLB::ResumeClients(), DistBaseLB::ResumeClients(), GreedyRefineLB::sendSolution(), CkMigratable::staticResumeFromSync(), WSLB::Strategy(), NeighborLB::Strategy(), HybridBaseLB::Strategy(), DistributedLB::Strategy(), CentralLB::Strategy(), HybridBaseLB::TotalObjMigrated(), HybridBaseLB::VectorDone(), VectorStrategy(), ZoltanLB::work(), TreeMatchLB::work(), TopoLB::work(), TopoCentLB::work(), TempAwareGreedyLB::work(), TempAwareCommLB::work(), TeamLB::work(), RefineTopoLB::work(), RefineSwapLB::work(), RefineLB::work(), RefineKLB::work(), RandCentLB::work(), OrbLB::work(), MetisLB::work(), GridMetisLB::work(), GridHybridSeedLB::work(), GridHybridLB::work(), GridCommRefineLB::work(), GridCommLB::work(), GreedyRefineLB::work(), GreedyLB::work(), GreedyCommLB::work(), GreedyAgentLB::work(), CommLB::work(), CommAwareRefineLB::work(), CentralLB::writeStatsMsgs(), and CkMigratable::~CkMigratable().
Definition at line 30 of file LBDatabase.C.
Referenced by _loadbalancerInit(), CentralLB::initLB(), CentralLB::predictorOff(), CentralLB::predictorOn(), and CentralLB::preprocess().
Definition at line 32 of file LBDatabase.C.
Referenced by _loadbalancerInit(), CentralLB::initLB(), and CentralLB::predictorOn().
char * _lbtopo = s_lbtopo_default |
Definition at line 25 of file cldb.C.
Referenced by _loadbalancerInit(), CldComputeNeighborData(), CldGraphModuleInit(), LBTOPO_MACRO(), NborBaseLB::NborBaseLB(), NeighborCommLB::Strategy(), TopologyAgent::TopologyAgent(), TopoLB::work(), TopoCentLB::work(), RefineTopoLB::work(), and WSLB::WSLB().
LDOMid LDOMHandle::id [inherited] |
Definition at line 70 of file lbdb.h.
Referenced by LBDB::AddOM(), CentralLB::CheckMigrationComplete(), LBDB::DoneRegisteringObjects(), LBDB::MulticastSend(), LDObjData::omID(), LDObjHandle::omID(), LBDB::RegisteringObjects(), LBDB::Send(), CentralLB::SendStats(), OrbLB::work(), and BlockLB::work().
int LDOMHandle::handle [inherited] |
Definition at line 71 of file lbdb.h.
Referenced by LBDB::AddOM(), LBDB::DoneRegisteringObjects(), LBDB::LbOM(), LBDB::MetaLBCallLBOnChares(), LBDB::MetaLBResumeWaitingChares(), LBDB::RegisteringObjects(), and LBDB::RemoveOM().
CmiUInt8 _LDObjKey::objId [inherited] |
Definition at line 79 of file lbdb.h.
Referenced by _LDObjKey::objID(), _LDObjKey::operator<(), and _LDObjKey::operator==().
CmiUInt8 LDObjHandle::id [inherited] |
Definition at line 101 of file lbdb.h.
Referenced by LBDB::AddObj(), LBCommData::compute_key(), LDObjData::id(), LDObjData::objID(), LBSimulation::PrintDecisions(), LBDB::Send(), and UpdateLocation().
LDObjIndex LDObjHandle::handle [inherited] |
Definition at line 102 of file lbdb.h.
Referenced by LBDB::AddObj(), HierarchicalLB::finished_transfer_requests(), LBDB::LbObj(), LBDB::Migrate(), HbmLB::ObjMigrated(), MigrateDecision::operator=(), LBDB::SetRunningObj(), NeighborLB::Strategy(), NeighborCommLB::Strategy(), LBDB::UnregisterObj(), and LBDB::validObjHandle().
int LBUserDataLayout::count [private, inherited] |
LBRealType LDObjData::wallTime [inherited] |
Definition at line 152 of file lbdb.h.
Referenced by NborBaseLB::AssembleStats(), DistBaseLB::AssembleStats(), GreedyAgentLB::BuildCpuArray(), GreedyAgentLB::BuildObjectArray(), LBObj::Clear(), LBDB::ClearLoads(), TopoLB::computePartitions(), TopoCentLB::computePartitions(), RefinerTemp::create(), RefinerApprox::create(), Refiner::create(), GreedyRefineLB::fillData(), HybridBaseLB::GetObjsToMigrate(), LBObj::getTime(), controlPointManager::gotoNextPhase(), LBObj::IncrementTime(), DistributedLB::MapObjsToPe(), BaseLB::LDStats::print(), HbmLB::ReceiveMigrationDelta(), DistributedLB::RecvAck(), CentralLB::removeNonMigratable(), LBObj::setTiming(), DistributedLB::Setup(), DistributedLB::Strategy(), OrbLB::work(), GreedyLB::work(), GreedyCommLB::work(), and CommLB::work().
LBRealType LDObjData::cpuTime [inherited] |
Definition at line 154 of file lbdb.h.
Referenced by NborBaseLB::AssembleStats(), DistBaseLB::AssembleStats(), LBObj::Clear(), LBDB::ClearLoads(), LBObj::getTime(), controlPointManager::gotoNextPhase(), LBObj::IncrementTime(), BaseLB::LDStats::print(), CentralLB::removeNonMigratable(), LBObj::setTiming(), and OrbLB::work().
LBRealType LDObjData::minWall [inherited] |
LBRealType LDObjData::maxWall [inherited] |
bool LDObjData::migratable [inherited] |
Definition at line 159 of file lbdb.h.
Referenced by GreedyAgentLB::BuildCpuArray(), GreedyAgentLB::BuildObjectArray(), HybridBaseLB::buildStats(), CentralLB::buildStats(), TopoLB::computePartitions(), TopoCentLB::computePartitions(), RefinerTemp::create(), RefinerApprox::create(), Refiner::create(), CentralLB::depositData(), GreedyRefineLB::fillData(), LBDB::GetObjData(), HybridBaseLB::GetObjsToMigrate(), LBObj::LBObj(), HybridBaseLB::ObjMigrated(), HbmLB::ObjMigrated(), HybridBaseLB::ObjsMigrated(), BaseLB::LDStats::print(), CentralLB::removeNonMigratable(), LBObj::SetMigratable(), DistributedLB::Setup(), RotateLB::work(), RandCentLB::work(), PhasebyArrayLB::work(), OrbLB::work(), GreedyLB::work(), GreedyCommLB::work(), CommLB::work(), and BlockLB::work().
bool LDObjData::asyncArrival [inherited] |
Definition at line 160 of file lbdb.h.
Referenced by HybridBaseLB::createMigrateMsg(), CentralLB::createMigrateMsg(), LBObj::LBObj(), and LBObj::UseAsyncMigrate().
LBObjUserData LDObjData::userData [inherited] |
CmiUInt2 LDObjData::pupSize [inherited] |
LDObjData LDObjStats::data [inherited] |
int LDObjStats::from_proc [inherited] |
int LDObjStats::to_proc [inherited] |
int _LDCommDesc::destObjProc [inherited] |
struct { ... } _LDCommDesc::destObj [inherited] |
struct { ... } ::destObj [inherited] |
int _LDCommDesc::len [inherited] |
struct { ... } _LDCommDesc::destObjs [inherited] |
Referenced by _LDCommDesc::operator=(), and CentralLB::removeCommDataOfDeletedObjs().
struct { ... } ::destObjs [inherited] |
union { ... } _LDCommDesc::dest [inherited] |
LDObjKey _LDCommData::sender [inherited] |
Definition at line 240 of file lbdb.h.
Referenced by HybridBaseLB::collectCommData(), HbmLB::collectCommData(), BaseLB::LDStats::computeNonlocalComm(), TopoLB::computePartitions(), TopoCentLB::computePartitions(), GridHybridSeedLB::Examine_InterObject_Messages(), GridHybridLB::Examine_InterObject_Messages(), GridCommRefineLB::Examine_InterObject_Messages(), GridCommLB::Examine_InterObject_Messages(), LBCommTable::GetCommData(), TopoLB::getHopBytes(), LBInfo::getInfo(), BaseLB::LDStats::getSendHash(), TopoLB::initDataStructures(), GridHybridSeedLB::Initialize_Communication_Matrix(), isMigratable(), MulticastAgent::MulticastAgent(), ObjGraph::ObjGraph(), _LDCommData::operator=(), GridMetisLB::Partition_ClusterObjects_Into_PEs(), GridMetisLB::Partition_Objects_Into_Clusters(), GridHybridLB::Partition_Objects_Into_Clusters(), BaseLB::LDStats::removeObject(), TopologyAgent::TopologyAgent(), TreeMatchLB::work(), TopoCentLB::work(), GreedyCommLB::work(), and CommLB::work().
LDCommDesc _LDCommData::receiver [inherited] |
Definition at line 241 of file lbdb.h.
Referenced by HybridBaseLB::buildCombinedLBStatsMessage(), RefinerComm::commAffinity(), TopoLB::computePartitions(), TopoCentLB::computePartitions(), RefinerComm::create(), HybridBaseLB::depositLBStatsMessage(), GridHybridSeedLB::Examine_InterObject_Messages(), GridHybridLB::Examine_InterObject_Messages(), GridCommRefineLB::Examine_InterObject_Messages(), GridCommLB::Examine_InterObject_Messages(), LBCommTable::GetCommData(), TopoLB::getHopBytes(), BaseLB::LDStats::getRecvHash(), TopoLB::initDataStructures(), GridHybridSeedLB::Initialize_Communication_Matrix(), isMigratable(), MulticastAgent::MulticastAgent(), RefinerComm::objCommCost(), ObjGraph::ObjGraph(), _LDCommData::operator=(), GridMetisLB::Partition_ClusterObjects_Into_PEs(), GridMetisLB::Partition_Objects_Into_Clusters(), GridHybridLB::Partition_Objects_Into_Clusters(), CentralLB::removeCommDataOfDeletedObjs(), CentralLB::removeNonMigratable(), TopologyAgent::TopologyAgent(), TreeMatchLB::work(), TopoCentLB::work(), GreedyCommLB::work(), and CommLB::work().
int _LDCommData::sendHash [inherited] |
Definition at line 242 of file lbdb.h.
Referenced by _LDCommData::clearHash(), BaseLB::LDStats::getSendHash(), and _LDCommData::operator=().
int _LDCommData::recvHash [inherited] |
Definition at line 242 of file lbdb.h.
Referenced by _LDCommData::clearHash(), BaseLB::LDStats::getRecvHash(), and _LDCommData::operator=().
int _LDCommData::messages [inherited] |
Definition at line 243 of file lbdb.h.
Referenced by RefinerComm::commAffinity(), TopoLB::computePartitions(), TopoCentLB::computePartitions(), ObjGraph::EdgeWeight(), GridHybridSeedLB::Examine_InterObject_Messages(), GridHybridLB::Examine_InterObject_Messages(), GridCommRefineLB::Examine_InterObject_Messages(), GridCommLB::Examine_InterObject_Messages(), LBCommTable::GetCommData(), GridHybridSeedLB::Initialize_Communication_Matrix(), MulticastAgent::MulticastAgent(), RefinerComm::objCommCost(), ObjGraph::ObjGraph(), _LDCommData::operator=(), GridMetisLB::Partition_ClusterObjects_Into_PEs(), GridMetisLB::Partition_Objects_Into_Clusters(), GridHybridLB::Partition_Objects_Into_Clusters(), GreedyCommLB::work(), and CommLB::work().
int _LDCommData::bytes [inherited] |
Definition at line 244 of file lbdb.h.
Referenced by RefinerComm::commAffinity(), ObjGraph::EdgeWeight(), LBCommTable::GetCommData(), TopoLB::getHopBytes(), TopoLB::initDataStructures(), MulticastAgent::MulticastAgent(), RefinerComm::objCommCost(), ObjGraph::ObjGraph(), _LDCommData::operator=(), TopologyAgent::TopologyAgent(), TreeMatchLB::work(), TopoCentLB::work(), GreedyCommLB::work(), and CommLB::work().
LDStatsFn LDCallbacks::setStats [inherited] |
LDQueryEstLoadFn LDCallbacks::queryEstLoad [inherited] |
Cluster Manager Code, Accepts external bit vectors and then feeds it into the loadbalancer so that programs can shrink and expand.
Definition at line 17 of file manager.C.
Referenced by CentralLB::CheckForRealloc(), CkCheckpointMgr::Checkpoint(), handler(), and manager_init().
char* se_avail_vector |
Definition at line 18 of file manager.C.
Referenced by handler(), and CentralLB::ResumeFromReallocCheckpoint().
char willContinue = 0 |
Definition at line 21 of file manager.C.
Referenced by manager_init(), and CentralLB::WillIbekilled().
CkGroupID _theNullLB [static] |
int _migDoneHandle [static] |
const double alpha = 30.e-6 [static] |
Definition at line 18 of file ObjGraph.C.
Referenced by CommLB::compute_cost(), CreateLBFunc_Def(), GenericElement::dshape_func(), ObjGraph::EdgeWeight(), LBInfo::getInfo(), GenericElement::interpolate_natural(), cgSolver::iterate(), GenericElement::jacobian(), Marquardt_solver(), MulticastAgent::my_preferred_procs(), PUPmarshall(), GenericElement::shape_func(), and AdaptiveLB::work().
const double beta = 3.e-9 [static] |
Definition at line 19 of file ObjGraph.C.
Referenced by CommLB::compute_cost(), CreateLBFunc_Def(), ObjGraph::EdgeWeight(), LBInfo::getInfo(), FEM_Adapt_Algs::GradateMesh(), cgSolver::iterate(), Marquardt_solver(), MulticastAgent::my_preferred_procs(), Bulk_Adapt::ParFUM_GradateMesh(), and AdaptiveLB::work().
Definition at line 105 of file RecBipartLB.C.
Referenced by adjustqueues(), CcsSecMan_default(), CkArray::CkArray(), CoarsenGraph(), CoarsenGraphNlevels(), HybridBaseLB::FindNeighbors(), HbmLB::FindNeighbors(), gk_graph_ComputeBestFOrdering(), MinCover(), print_btree_top_down(), print_heap(), RecursiveBiPart(), removeinSwap(), and RecBipartLB::work().
double TOTALLOAD |
vector<Vertex_helper *> vhelpers |
Definition at line 107 of file RecBipartLB.C.
Referenced by adjustgain(), adjustqueues(), modifypartitions(), BQueue::push(), RecursiveBiPart(), BQueue::removeComplete(), removeinSwap(), and RecBipartLB::work().
Definition at line 108 of file RecBipartLB.C.
Referenced by TopoManager_init(), and RecBipartLB::work().
Definition at line 108 of file RecBipartLB.C.
Referenced by RecursiveBiPart(), and RecBipartLB::work().
Definition at line 109 of file RecBipartLB.C.
FILE* migFile |
double starting |
char* _lbtopo |
int LBTopo_torus_nd< dimension >::VirtualProcessorCount [private, inherited] |
Definition at line 582 of file topology.C.
int* LBTopo_torus_nd< dimension >::TempCo [private, inherited] |
Definition at line 583 of file topology.C.
Definition at line 1325 of file topology.C.
CmiNodeLock lbTopoMapInitLock [static] |
bool lbTopoInitialized = false [static] |
bool LBDatabase::manualOn = false [static, inherited] |
Definition at line 421 of file LBDatabase.h.
Referenced by LBDatabase::init(), TurnManualLBOff(), and TurnManualLBOn().
char * LBDatabase::avail_vector = NULL [static, private, inherited] |
Definition at line 409 of file LBDatabase.h.
Referenced by LBDatabase::availVector(), LBDatabase::get_avail_vector(), LBDatabase::initnodeFn(), LBDatabase::pup(), LBDatabase::set_avail_vector(), and LBDatabase::~LBDatabase().
bool LBDatabase::avail_vector_set = false [static, private, inherited] |