#include <CentralLB.h>
Public Member Functions | |
LBInfo () | |
LBInfo (LBRealType *pl, int count) | |
LBInfo (int count) | |
data file version | |
~LBInfo () | |
void | getInfo (BaseLB::LDStats *stats, int count, int considerComm) |
void | clear () |
void | print () |
void | getSummary (LBRealType &maxLoad, LBRealType &maxCpuLoad, LBRealType &totalLoad) |
Data Fields | |
LBRealType * | peLoads |
LBRealType * | objLoads |
LBRealType * | comLoads |
LBRealType * | bgLoads |
int | numPes |
int | msgCount |
CmiUInt8 | msgBytes |
LBRealType | minObjLoad |
LBRealType | maxObjLoad |
Definition at line 25 of file CentralLB.h.
LBInfo::LBInfo | ( | ) | [inline] |
Definition at line 36 of file CentralLB.h.
LBInfo::LBInfo | ( | LBRealType * | pl, | |
int | count | |||
) | [inline] |
Definition at line 39 of file CentralLB.h.
LBInfo::LBInfo | ( | int | count | ) |
LBInfo::~LBInfo | ( | ) |
void LBInfo::getInfo | ( | BaseLB::LDStats * | stats, | |
int | count, | |||
int | considerComm | |||
) |
Definition at line 58 of file LBSimulation.C.
References _lb_args, CkLBArgs::alpha(), alpha, CkLBArgs::beta(), beta, bgLoads, clear(), comLoads, BaseLB::LDStats::commData, CkLBArgs::debug(), _LDCommData::from_proc(), BaseLB::LDStats::getHash(), idx, BaseLB::LDStats::makeCommHash(), maxObjLoad, minObjLoad, msgBytes, msgCount, BaseLB::LDStats::n_comm, BaseLB::LDStats::n_objs, BaseLB::LDStats::objData, objLoads, p, peLoads, BaseLB::LDStats::procs, CkVec< T >::push_back(), _LDCommData::sender, CkVec< T >::size(), _LDCommData::src_proc, and BaseLB::LDStats::to_proc.
Referenced by getPredictedLoadWithMsg(), CentralLB::LoadBalance(), HybridBaseLB::printSummary(), and HbmLB::ResumeClients().
void LBInfo::clear | ( | ) |
Definition at line 45 of file LBSimulation.C.
References bgLoads, comLoads, maxObjLoad, minObjLoad, msgBytes, msgCount, numPes, objLoads, and peLoads.
Referenced by getInfo(), LBInfo(), and LBSimulation::reset().
void LBInfo::print | ( | ) |
Definition at line 190 of file LBSimulation.C.
References _lb_args, bgLoads, CmiPrintf(), comLoads, CkLBArgs::debug(), maxObjLoad, minObjLoad, msgBytes, msgCount, numPes, objLoads, and peLoads.
Referenced by LBSimulation::PrintSimulationResults().
void LBInfo::getSummary | ( | LBRealType & | maxLoad, | |
LBRealType & | maxCpuLoad, | |||
LBRealType & | totalLoad | |||
) |
Definition at line 234 of file LBSimulation.C.
References numPes, objLoads, and peLoads.
Referenced by CentralLB::ApplyDecision(), CentralLB::LoadBalance(), HybridBaseLB::printSummary(), and HbmLB::ResumeClients().
Definition at line 28 of file CentralLB.h.
Referenced by CentralLB::ApplyDecision(), clear(), getInfo(), getSummary(), LBInfo(), print(), LBSimulation::PrintDifferences(), LBSimulation::SetProcessorLoad(), and ~LBInfo().
Definition at line 29 of file CentralLB.h.
Referenced by clear(), getInfo(), getSummary(), LBInfo(), print(), and ~LBInfo().
Definition at line 31 of file CentralLB.h.
Referenced by clear(), getInfo(), LBInfo(), print(), LBSimulation::SetProcessorLoad(), and ~LBInfo().
Definition at line 32 of file CentralLB.h.
Referenced by clear(), getSummary(), LBInfo(), and print().