#include <CentralLB.h>
Definition at line 64 of file CentralLB.h.
CentralLB::CentralLB | ( | const CkLBOptions & | opt | ) | [inline] |
Definition at line 73 of file CentralLB.h.
References initLB(), lbDecisionCount, manager_init(), and resumeCount.
CentralLB::CentralLB | ( | CkMigrateMessage * | m | ) | [inline] |
Definition at line 81 of file CentralLB.h.
References manager_init().
void CentralLB::setConcurrent | ( | bool | c | ) | [inline] |
void CentralLB::StartLB | ( | ) | [inline] |
Definition at line 147 of file CentralLB.h.
Referenced by CreateLBFunc_Def().
static void CentralLB::staticStartLB | ( | void * | data | ) | [static] |
void CentralLB::FuturePredictor | ( | LDStats * | stats | ) |
void CentralLB::predictorOn | ( | LBPredictorFunction * | pred | ) | [inline] |
Definition at line 208 of file CentralLB.h.
References _lb_predict_window.
Referenced by staticPredictorOn(), and staticPredictorOnWin().
void CentralLB::predictorOn | ( | LBPredictorFunction * | pred, | |
int | window_size | |||
) | [inline] |
Definition at line 211 of file CentralLB.h.
References _lb_predict, _lb_predict_window, and predicted_model.
void CentralLB::predictorOff | ( | ) | [inline] |
Definition at line 224 of file CentralLB.h.
References _lb_predict, and predicted_model.
Referenced by staticPredictorOff().
void CentralLB::changePredictor | ( | LBPredictorFunction * | new_predictor | ) | [inline] |
Definition at line 233 of file CentralLB.h.
References CentralLB::FutureModel::changePredictor(), and predicted_model.
Referenced by staticChangePredictor().
LBMigrateMsg* CentralLB::callStrategy | ( | LDStats * | stats, | |
int | count | |||
) | [inline] |
Definition at line 241 of file CentralLB.h.
References Strategy().
virtual LBMigrateMsg* CentralLB::Strategy | ( | LDStats * | stats, | |
int | nprocs | |||
) | [inline, virtual] |
Definition at line 259 of file CentralLB.h.
References Strategy().
Definition at line 264 of file CentralLB.h.
Referenced by AtSync().
virtual bool CentralLB::QueryDumpData | ( | ) | [inline, protected, virtual] |
Definition at line 265 of file CentralLB.h.
virtual void CentralLB::LoadbalanceDone | ( | int | balancing | ) | [inline, protected, virtual] |
Definition at line 266 of file CentralLB.h.
Referenced by MigrationDoneImpl().
void CentralLB::loadbalance_with_thread | ( | ) | [inline, protected] |
CLBStatsMsg* CentralLB::statsMsg [private] |
Definition at line 67 of file CentralLB.h.
Referenced by BuildStatsMsg(), initLB(), pup(), and SendStats().
int CentralLB::count_msgs [private] |
FILE* CentralLB::logFD |
Definition at line 88 of file CentralLB.h.
Definition at line 89 of file CentralLB.h.
Referenced by BuildStatsMsg(), changeFreq(), and initLB().
Definition at line 243 of file CentralLB.h.
Referenced by BuildStatsMsg(), CheckForRealloc(), initLB(), LoadBalance(), ProcessAtSync(), ProcessReceiveMigration(), ReceiveStats(), ReceiveStatsFromRoot(), SendStats(), and Strategy().
bool CentralLB::concurrent [protected] |
Definition at line 275 of file CentralLB.h.
Referenced by ApplyDecision(), LoadBalance(), ProcessAtSync(), ReceiveCounts(), ReceiveMigration(), ReceiveStats(), setConcurrent(), simulationRead(), and Strategy().
int CentralLB::myspeed [private] |
Definition at line 277 of file CentralLB.h.
Referenced by BuildStatsMsg(), GetPESpeed(), initLB(), and SetPESpeed().
int CentralLB::stats_msg_count [private] |
Definition at line 278 of file CentralLB.h.
Referenced by ApplyDecision(), buildStats(), initLB(), readStatsMsgs(), ReceiveMigration(), ReceiveStats(), and writeStatsMsgs().
CLBStatsMsg** CentralLB::statsMsgsList [private] |
Definition at line 279 of file CentralLB.h.
Referenced by buildStats(), initLB(), LoadBalance(), readStatsMsgs(), ReceiveStats(), and ~CentralLB().
LDStats* CentralLB::statsData [private] |
Definition at line 280 of file CentralLB.h.
Referenced by ApplyDecision(), buildStats(), depositData(), initLB(), LoadBalance(), preprocess(), readStatsMsgs(), ReceiveCounts(), ReceiveMigration(), ReceiveStats(), simulationRead(), useMem(), writeStatsMsgs(), and ~CentralLB().
int CentralLB::migrates_completed [private] |
Definition at line 281 of file CentralLB.h.
Referenced by initLB(), Migrated(), MigrationDoneImpl(), ProcessMigrationDecision(), and ProcessReceiveMigration().
int CentralLB::migrates_expected [private] |
Definition at line 282 of file CentralLB.h.
Referenced by initLB(), Migrated(), MigrationDoneImpl(), ProcessMigrationDecision(), and ProcessReceiveMigration().
int CentralLB::future_migrates_completed [private] |
Definition at line 283 of file CentralLB.h.
Referenced by CheckMigrationComplete(), initLB(), Migrated(), and ResumeClients().
int CentralLB::future_migrates_expected [private] |
Definition at line 284 of file CentralLB.h.
Referenced by CheckMigrationComplete(), initLB(), Migrated(), ProcessMigrationDecision(), ProcessReceiveMigration(), and ResumeClients().
int CentralLB::lbdone [private] |
double CentralLB::start_lb_time [private] |
Definition at line 286 of file CentralLB.h.
Referenced by CheckForRealloc(), CheckMigrationComplete(), LoadBalance(), and ProcessAtSync().
double CentralLB::strat_start_time [private] |
Definition at line 287 of file CentralLB.h.
Referenced by printStrategyStats(), ReceiveMigration(), and Strategy().
LBMigrateMsg* CentralLB::storedMigrateMsg [private] |
Definition at line 288 of file CentralLB.h.
Referenced by ApplyDecision(), initLB(), LoadBalance(), ProcessReceiveMigration(), and ReceiveMigration().
LBScatterMsg* CentralLB::storedScatterMsg [private] |
Definition at line 289 of file CentralLB.h.
Referenced by ProcessMigrationDecision(), and ReceiveMigration().
bool CentralLB::reduction_started [private] |
Definition at line 290 of file CentralLB.h.
Referenced by initLB(), ProcessAtSync(), pup(), and SendStats().
bool CentralLB::use_thread [private] |
Definition at line 291 of file CentralLB.h.
Referenced by initLB(), loadbalance_with_thread(), pup(), and ReceiveStats().
FutureModel* CentralLB::predicted_model [private] |
Definition at line 293 of file CentralLB.h.
Referenced by changePredictor(), initLB(), predictorOff(), and predictorOn().
Definition at line 302 of file CentralLB.h.
Referenced by MigrationDoneImpl(), and resumeCentralLbAfterChkpt().
Definition at line 304 of file CentralLB.h.
Referenced by ApplyDecision(), CentralLB(), ProcessReceiveMigration(), and pup().