PPL Logo

LBstrategy Class Reference

#include <ldbal.h>

Inheritance diagram for LBstrategy:

Inheritance graph
[legend]
Collaboration diagram for LBstrategy:

Collaboration graph
[legend]

Public Member Functions

 LBstrategy (void)
 LBstrategy (CkMigrateMessage *)
void computeLoadMap (int avgLd, int ttlLd)
int findMinPE ()
void recvLoadReport (LoadReport *)

Private Attributes

localStatlocalStats
intpeLoads

Detailed Description

Definition at line 51 of file ldbal.h.


Constructor & Destructor Documentation

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.

Here is the call graph for this function:

LBstrategy::LBstrategy ( CkMigrateMessage  )  [inline]

Definition at line 59 of file ldbal.h.


Member Function Documentation

void LBstrategy::computeLoadMap ( int  avgLd,
int  ttlLd 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int LBstrategy::findMinPE (  ) 

Definition at line 291 of file ldbal.C.

References Converse::CkNumPes(), and peLoads.

Referenced by computeLoadMap().

Here is the call graph for this function:

Here is the caller graph for this function:

void LBstrategy::recvLoadReport ( LoadReport lr  ) 


Field Documentation

Definition at line 54 of file ldbal.h.

Referenced by LBstrategy(), and recvLoadReport().

Definition at line 56 of file ldbal.h.

Referenced by computeLoadMap(), findMinPE(), LBstrategy(), and recvLoadReport().


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:26:41 2020 for Charm++ by  doxygen 1.5.5