#include <LBDatabase.h>
Inheritance diagram for LBDatabase:


Definition at line 167 of file LBDatabase.h.
| LBDatabase::LBDatabase | ( | void | ) | [inline] |
| LBDatabase::LBDatabase | ( | CkMigrateMessage * | m | ) | [inline] |
| LBDatabase::~LBDatabase | ( | ) | [inline] |
| static LBDatabase* LBDatabase::Object | ( | ) | [inline, static] |
Definition at line 176 of file LBDatabase.h.
References _lbdb, and CkLocalBranch().
Referenced by LBChangePredictor(), LBClearLoads(), LBDatabaseObj(), LBSetPeriod(), LBTurnInstrumentOff(), LBTurnInstrumentOn(), LBTurnPredictorOff(), LBTurnPredictorOn(), CentralLB::LoadBalance(), TurnManualLBOff(), and TurnManualLBOn().
| LBDB* LBDatabase::getLBDB | ( | void | ) | [inline] |
Definition at line 178 of file LBDatabase.h.
References LDHandle::handle, and myLDHandle.
Referenced by CentralLB::CheckMigrationComplete(), HbmLB::HbmLB(), HybridBaseLB::HybridBaseLB(), CentralLB::initLB(), NborBaseLB::NborBaseLB(), CentralLB::SendStats(), CentralLB::turnOff(), CentralLB::turnOn(), WSLB::WSLB(), CentralLB::~CentralLB(), HbmLB::~HbmLB(), HybridBaseLB::~HybridBaseLB(), NborBaseLB::~NborBaseLB(), and WSLB::~WSLB().
| LDOMHandle LBDatabase::RegisterOM | ( | LDOMid | userID, | |
| void * | userptr, | |||
| LDCallbacks | cb | |||
| ) | [inline] |
| void LBDatabase::RegisteringObjects | ( | LDOMHandle | _om | ) | [inline] |
Definition at line 192 of file LBDatabase.h.
References LDRegisteringObjects().
Referenced by CkLocMgr::recvAtSync().
| void LBDatabase::DoneRegisteringObjects | ( | LDOMHandle | _om | ) | [inline] |
Definition at line 196 of file LBDatabase.h.
References LDDoneRegisteringObjects().
Referenced by CkLocMgr::dummyResumeFromSync().
| LDObjHandle LBDatabase::RegisterObj | ( | LDOMHandle | h, | |
| LDObjid | id, | |||
| void * | userptr, | |||
| int | migratable | |||
| ) | [inline] |
Definition at line 200 of file LBDatabase.h.
References LDRegisterObj().
Referenced by CkLocRec_local::CkLocRec_local().
| void LBDatabase::UnregisterObj | ( | LDObjHandle | h | ) | [inline] |
Definition at line 205 of file LBDatabase.h.
References LDUnregisterObj().
Referenced by CkLocRec_local::~CkLocRec_local().
| void LBDatabase::ObjTime | ( | LDObjHandle | h, | |
| double | walltime, | |||
| double | cputime | |||
| ) | [inline] |
| int LBDatabase::RunningObject | ( | LDObjHandle * | _o | ) | const [inline] |
Definition at line 211 of file LBDatabase.h.
References LDHandle::handle, myLDHandle, LBDB::ObjIsRunning(), and LBDB::RunningObj().
Referenced by _deliverForBocMsg(), CProxyElement_CkCacheManager::cacheSync(), CkLocRec_local::deliver(), CProxyElement_CkCacheManager::recvData(), CProxyElement_CkCacheManager::requestDataNoFetch(), and SystemLoad::SystemLoad().
| const LDObjHandle* LBDatabase::RunningObject | ( | ) | const [inline] |
Definition at line 222 of file LBDatabase.h.
References LDHandle::handle, myLDHandle, LBDB::ObjIsRunning(), and LBDB::RunningObj().
| const LDObjHandle& LBDatabase::GetObjHandle | ( | int | idx | ) | [inline] |
| void LBDatabase::ObjectStart | ( | const LDObjHandle & | _h | ) | [inline] |
Definition at line 232 of file LBDatabase.h.
References LDObjectStart().
Referenced by _deliverForBocMsg(), CProxyElement_CkCacheManager::cacheSync(), CkLocRec_local::deliver(), CProxyElement_CkCacheManager::recvData(), CProxyElement_CkCacheManager::requestDataNoFetch(), CkLocRec_local::startTiming(), CkMigratable::timingAfterCall(), and SystemLoad::~SystemLoad().
| void LBDatabase::ObjectStop | ( | const LDObjHandle & | _h | ) | [inline] |
Definition at line 233 of file LBDatabase.h.
References LDObjectStop().
Referenced by _deliverForBocMsg(), CProxyElement_CkCacheManager::cacheSync(), CkLocRec_local::deliver(), CProxyElement_CkCacheManager::recvData(), CProxyElement_CkCacheManager::requestDataNoFetch(), CkLocRec_local::stopTiming(), SystemLoad::SystemLoad(), and CkMigratable::timingBeforeCall().
| void LBDatabase::Send | ( | const LDOMHandle & | _om, | |
| const LDObjid | _id, | |||
| unsigned int | _b, | |||
| int | _p | |||
| ) | [inline] |
Definition at line 234 of file LBDatabase.h.
References LDSend().
Referenced by CkLocMgr::deliver().
| void LBDatabase::MulticastSend | ( | const LDOMHandle & | _om, | |
| LDObjid * | _ids, | |||
| int | _n, | |||
| unsigned int | _b, | |||
| int | _nMsgs = 1 | |||
| ) | [inline] |
Definition at line 237 of file LBDatabase.h.
References LDMulticastSend().
Referenced by CkMulticastMgr::ArraySectionSend().
| void LBDatabase::NonMigratable | ( | LDObjHandle | h | ) | [inline] |
Definition at line 242 of file LBDatabase.h.
References LDNonMigratable().
Referenced by CkLocRec_local::setMigratable().
| void LBDatabase::Migratable | ( | LDObjHandle | h | ) | [inline] |
Definition at line 243 of file LBDatabase.h.
References LDMigratable().
Referenced by CkLocRec_local::setMigratable().
| void LBDatabase::UseAsyncMigrate | ( | LDObjHandle | h, | |
| CmiBool | flag | |||
| ) | [inline] |
Definition at line 244 of file LBDatabase.h.
References LDAsyncMigrate().
Referenced by CkLocRec_local::AsyncMigrate().
| void LBDatabase::DumpDatabase | ( | void | ) | [inline] |
| void LBDatabase::NotifyMigrated | ( | LDMigratedFn | fn, | |
| void * | data | |||
| ) | [inline] |
| void LBDatabase::AddStartLBFn | ( | LDStartLBFn | fn, | |
| void * | data | |||
| ) | [inline] |
| void LBDatabase::RemoveStartLBFn | ( | LDStartLBFn | fn | ) | [inline] |
Definition at line 260 of file LBDatabase.h.
References LDRemoveStartLBFn(), and myLDHandle.
Referenced by NullLB::~NullLB().
| void LBDatabase::StartLB | ( | ) | [inline] |
| void LBDatabase::TurnManualLBOn | ( | ) | [inline] |
Definition at line 267 of file LBDatabase.h.
References LDTurnManualLBOn(), and myLDHandle.
Referenced by init(), and TurnManualLBOn().
| void LBDatabase::TurnManualLBOff | ( | ) | [inline] |
Definition at line 268 of file LBDatabase.h.
References LDTurnManualLBOff(), and myLDHandle.
Referenced by TurnManualLBOff().
| void LBDatabase::PredictorOn | ( | LBPredictorFunction * | model | ) | [inline] |
Definition at line 270 of file LBDatabase.h.
References LDTurnPredictorOn(), and myLDHandle.
Referenced by LBTurnPredictorOn().
| void LBDatabase::PredictorOn | ( | LBPredictorFunction * | model, | |
| int | wind | |||
| ) | [inline] |
| void LBDatabase::PredictorOff | ( | ) | [inline] |
Definition at line 272 of file LBDatabase.h.
References LDTurnPredictorOff(), and myLDHandle.
Referenced by LBTurnPredictorOff().
| void LBDatabase::ChangePredictor | ( | LBPredictorFunction * | model | ) | [inline] |
Definition at line 273 of file LBDatabase.h.
References LDTurnPredictorOn(), and myLDHandle.
Referenced by LBChangePredictor().
| void LBDatabase::CollectStatsOn | ( | void | ) | [inline] |
Definition at line 275 of file LBDatabase.h.
References LDCollectStatsOn(), and myLDHandle.
Referenced by HbmLB::HbmLB(), HybridBaseLB::HybridBaseLB(), CentralLB::initLB(), LBTurnInstrumentOn(), NborBaseLB::NborBaseLB(), and WSLB::WSLB().
| void LBDatabase::CollectStatsOff | ( | void | ) | [inline] |
Definition at line 276 of file LBDatabase.h.
References LDCollectStatsOff(), and myLDHandle.
Referenced by LBTurnInstrumentOff().
| int LBDatabase::CollectingStats | ( | void | ) | [inline] |
| void LBDatabase::QueryEstLoad | ( | void | ) | [inline] |
| int LBDatabase::GetObjDataSz | ( | void | ) | [inline] |
Definition at line 280 of file LBDatabase.h.
References LDGetObjDataSz(), and myLDHandle.
Referenced by WSLB::AssembleStats(), NborBaseLB::AssembleStats(), HybridBaseLB::AssembleStats(), CentralLB::BuildStatsMsg(), HbmLB::ProcessAtSync(), and CentralLB::ProcessAtSync().
| void LBDatabase::GetObjData | ( | LDObjData * | data | ) | [inline] |
Definition at line 281 of file LBDatabase.h.
References data, LDGetObjData(), and myLDHandle.
Referenced by WSLB::AssembleStats(), NborBaseLB::AssembleStats(), HybridBaseLB::AssembleStats(), CentralLB::BuildStatsMsg(), and HbmLB::ProcessAtSync().
| int LBDatabase::GetCommDataSz | ( | void | ) | [inline] |
Definition at line 282 of file LBDatabase.h.
References LDGetCommDataSz(), and myLDHandle.
Referenced by WSLB::AssembleStats(), NborBaseLB::AssembleStats(), HybridBaseLB::AssembleStats(), CentralLB::BuildStatsMsg(), HbmLB::ProcessAtSync(), and CentralLB::ProcessAtSync().
| void LBDatabase::GetCommData | ( | LDCommData * | data | ) | [inline] |
Definition at line 283 of file LBDatabase.h.
References data, LDGetCommData(), and myLDHandle.
Referenced by WSLB::AssembleStats(), NborBaseLB::AssembleStats(), HybridBaseLB::AssembleStats(), CentralLB::BuildStatsMsg(), and HbmLB::ProcessAtSync().
| void LBDatabase::BackgroundLoad | ( | double * | walltime, | |
| double * | cputime | |||
| ) | [inline] |
Definition at line 285 of file LBDatabase.h.
References LDBackgroundLoad(), and myLDHandle.
Referenced by WSLB::AssembleStats(), NborBaseLB::AssembleStats(), and HbmLB::ProcessAtSync().
| void LBDatabase::IdleTime | ( | double * | walltime | ) | [inline] |
Definition at line 289 of file LBDatabase.h.
References LDIdleTime(), and myLDHandle.
Referenced by WSLB::AssembleStats(), NborBaseLB::AssembleStats(), and HbmLB::ProcessAtSync().
| void LBDatabase::TotalTime | ( | double * | walltime, | |
| double * | cputime | |||
| ) | [inline] |
Definition at line 293 of file LBDatabase.h.
References LDTotalTime(), and myLDHandle.
Referenced by WSLB::AssembleStats(), NborBaseLB::AssembleStats(), and HbmLB::ProcessAtSync().
| void LBDatabase::GetTime | ( | double * | total_walltime, | |
| double * | total_cputime, | |||
| double * | idletime, | |||
| double * | bg_walltime, | |||
| double * | bg_cputime | |||
| ) | [inline] |
Definition at line 297 of file LBDatabase.h.
References LDGetTime(), and myLDHandle.
Referenced by HybridBaseLB::AssembleStats(), and CentralLB::BuildStatsMsg().
| void LBDatabase::ClearLoads | ( | void | ) | [inline] |
Definition at line 302 of file LBDatabase.h.
References LDClearLoads(), and myLDHandle.
Referenced by BaseLB::flushStates(), LBClearLoads(), NborBaseLB::MigrationDone(), CentralLB::MigrationDone(), WSLB::ReceiveStats(), HybridBaseLB::ResumeClients(), and HbmLB::ResumeClients().
| int LBDatabase::Migrate | ( | LDObjHandle | h, | |
| int | dest | |||
| ) | [inline] |
Definition at line 303 of file LBDatabase.h.
References dest, and LDMigrate().
Referenced by HybridBaseLB::PropagateInfo(), HybridBaseLB::ReceiveMigration(), CentralLB::ReceiveMigration(), WSLB::ReceiveStats(), and NborBaseLB::ReceiveStats().
| void LBDatabase::Migrated | ( | LDObjHandle | h, | |
| int | waitBarrier = 1 | |||
| ) | [inline] |
Definition at line 305 of file LBDatabase.h.
References LDMigrated().
Referenced by CkLocRec_local::CkLocRec_local().
| LDBarrierClient LBDatabase::AddLocalBarrierClient | ( | LDResumeFn | fn, | |
| void * | data | |||
| ) | [inline] |
Definition at line 307 of file LBDatabase.h.
References LDAddLocalBarrierClient(), and myLDHandle.
Referenced by CkMigratable::ckFinishConstruction().
| void LBDatabase::RemoveLocalBarrierClient | ( | LDBarrierClient | h | ) | [inline] |
Definition at line 311 of file LBDatabase.h.
References LDRemoveLocalBarrierClient(), and myLDHandle.
Referenced by CkMigratable::~CkMigratable().
| LDBarrierReceiver LBDatabase::AddLocalBarrierReceiver | ( | LDBarrierFn | fn, | |
| void * | data | |||
| ) | [inline] |
Definition at line 315 of file LBDatabase.h.
References LDAddLocalBarrierReceiver(), and myLDHandle.
Referenced by CkMigratable::ckFinishConstruction().
| void LBDatabase::RemoveLocalBarrierReceiver | ( | LDBarrierReceiver | h | ) | [inline] |
Definition at line 319 of file LBDatabase.h.
References LDRemoveLocalBarrierReceiver(), and myLDHandle.
Referenced by BaseLB::unregister(), CkMigratable::~CkMigratable(), and NullLB::~NullLB().
| void LBDatabase::AtLocalBarrier | ( | LDBarrierClient | h | ) | [inline] |
Definition at line 323 of file LBDatabase.h.
References LDAtLocalBarrier(), and myLDHandle.
Referenced by CkMigratable::AtSync().
| void LBDatabase::LocalBarrierOn | ( | void | ) | [inline] |
| void LBDatabase::LocalBarrierOff | ( | void | ) | [inline] |
| void LBDatabase::ResumeClients | ( | ) | [inline] |
Definition at line 326 of file LBDatabase.h.
References LDResumeClients(), and myLDHandle.
Referenced by NullLB::migrationsDone(), WSLB::ResumeClients(), NborBaseLB::ResumeClients(), HybridBaseLB::ResumeClients(), HbmLB::ResumeClients(), and CentralLB::ResumeClients().
| int LBDatabase::ProcessorSpeed | ( | ) | [inline] |
Definition at line 328 of file LBDatabase.h.
References LDProcessorSpeed().
Referenced by CentralLB::initLB(), NborBaseLB::NborBaseLB(), and WSLB::WSLB().
| void LBDatabase::SetLBPeriod | ( | double | s | ) | [inline] |
Definition at line 329 of file LBDatabase.h.
References LDSetLBPeriod(), and myLDHandle.
Referenced by LBSetPeriod().
| double LBDatabase::GetLBPeriod | ( | ) | [inline] |
| char* LBDatabase::availVector | ( | ) | [inline] |
Definition at line 344 of file LBDatabase.h.
References avail_vector.
Referenced by CentralLB::LoadBalance().
| int& LBDatabase::new_lbbalancer | ( | ) | [inline] |
Definition at line 347 of file LBDatabase.h.
References new_ld_balancer.
Referenced by CentralLB::BuildStatsMsg(), and CentralLB::LoadBalance().
| double LBDatabase::myExpectedLoad | ( | ) | [inline] |
Definition at line 355 of file LBDatabase.h.
References Converse::CkMyPe(), LBDatabase::LastLBInfo::expectedLoad, and lastLBInfo.
| double* LBDatabase::expectedLoad | ( | ) | [inline] |
Definition at line 356 of file LBDatabase.h.
References LBDatabase::LastLBInfo::expectedLoad, and lastLBInfo.
| int LBDatabase::useMem | ( | ) | [inline] |
Definition at line 357 of file LBDatabase.h.
References LDMemusage(), and myLDHandle.
Referenced by CentralLB::LoadBalance().
| int LBDatabase::step | ( | ) | [inline] |
| void LBDatabase::incStep | ( | ) | [inline] |
Definition at line 365 of file LBDatabase.h.
References mystep.
Referenced by NborBaseLB::MigrationDone(), HybridBaseLB::MigrationDone(), HbmLB::MigrationDone(), CentralLB::MigrationDone(), and HbmLB::ResumeClients().
int LBDatabase::mystep [private] |
LDHandle LBDatabase::myLDHandle [private] |
Definition at line 334 of file LBDatabase.h.
Referenced by AddLocalBarrierClient(), AddLocalBarrierReceiver(), AddStartLBFn(), AtLocalBarrier(), BackgroundLoad(), ChangePredictor(), ClearLoads(), CollectingStats(), CollectStatsOff(), CollectStatsOn(), DumpDatabase(), GetCommData(), GetCommDataSz(), getLBDB(), GetLBPeriod(), GetObjData(), GetObjDataSz(), GetObjHandle(), GetTime(), IdleTime(), init(), LocalBarrierOff(), LocalBarrierOn(), NotifyMigrated(), PredictorOff(), PredictorOn(), QueryEstLoad(), RegisterOM(), RemoveLocalBarrierClient(), RemoveLocalBarrierReceiver(), RemoveStartLBFn(), ResumeClients(), RunningObject(), SetLBPeriod(), StartLB(), TotalTime(), TurnManualLBOff(), TurnManualLBOn(), and useMem().
int LBDatabase::new_ld_balancer [private] |
Definition at line 336 of file LBDatabase.h.
Referenced by init(), new_lbbalancer(), and set_avail_vector().
CkVec<BaseLB *> LBDatabase::loadbalancers [private] |
Definition at line 337 of file LBDatabase.h.
Referenced by addLoadbalancer(), getLoadbalancerTicket(), and nextLoadbalancer().
int LBDatabase::nloadbalancers [private] |
Definition at line 338 of file LBDatabase.h.
Referenced by addLoadbalancer(), getLoadbalancerTicket(), init(), and nextLoadbalancer().
Definition at line 354 of file LBDatabase.h.
Referenced by expectedLoad(), myExpectedLoad(), and CentralLB::ReceiveMigration().
1.5.1