
#include <ldbal.h>


Public Member Functions | |
| LBstrategy (void) | |
| LBstrategy (CkMigrateMessage *) | |
| void | computeLoadMap (int avgLd, int ttlLd) |
| int | findMinPE () |
| void | recvLoadReport (LoadReport *) |
Private Attributes | |
| localStat * | localStats |
| int * | peLoads |
Definition at line 51 of file ldbal.h.
| LBstrategy::LBstrategy | ( | void | ) |
Definition at line 218 of file ldbal.C.
References CkLocalBranch(), Converse::CkNumPes(), int, localStats, malloc(), peLoads, pose_config, POSE_Config::stats, and theLocalStats.

| LBstrategy::LBstrategy | ( | CkMigrateMessage * | ) | [inline] |
Definition at line 231 of file ldbal.C.
References BalanceSpecs::avgLoad, Converse::CkNumPes(), count, balanceData::endPEidx, findMinPE(), BalanceSpecs::indexArray, balanceData::PE, balanceData::peLoad, peLoads, BalanceSpecs::sortArray, balanceData::startPEidx, TheLBG, and BalanceSpecs::totalLoad.
Referenced by recvLoadReport().


| int LBstrategy::findMinPE | ( | ) |
Definition at line 291 of file ldbal.C.
References Converse::CkNumPes(), and peLoads.
Referenced by computeLoadMap().


| void LBstrategy::recvLoadReport | ( | LoadReport * | lr | ) |
Definition at line 307 of file ldbal.C.
References CkFreeMsg(), Converse::CkMyPe(), Converse::CkNumPes(), computeLoadMap(), CpuTopoDetails::done, localStats, LoadReport::PE, LoadReport::peLoad, peLoads, pose_config, POSE_Config::stats, localStat::TimerStart(), and localStat::TimerStop().

localStat* LBstrategy::localStats [private] |
int* LBstrategy::peLoads [private] |
Definition at line 56 of file ldbal.h.
Referenced by computeLoadMap(), findMinPE(), LBstrategy(), and recvLoadReport().
1.5.5