PPL Logo

LBgroup Class Reference

#include <ldbal.h>

Inheritance diagram for LBgroup:

Inheritance graph
[legend]
Collaboration diagram for LBgroup:

Collaboration graph
[legend]

Public Member Functions

 LBgroup (void)
 LBgroup (CkMigrateMessage *)
int computeObjectLoad (POSE_TimeType ovt, POSE_TimeType eet, double rbOh, int sync, POSE_TimeType gvt)
int computePeLoad ()
int findHeaviestUnder (int loadDiff, int prioLoad, int **mvObjs, int pe, int *contrib)
int objRegister (int arrayIdx, int sync, sim *myPtr)
void objRemove (int arrayIdx)
void objUpdate (int ldIdx, POSE_TimeType ovt, POSE_TimeType eet, int ne, double rbOh, int *srVec)
void calculateLocalLoad (void)
void balance (BalanceSpecs *)

Private Attributes

localStatlocalStats
int reportTo
int peLoad
int busy
lbObjects objs

Detailed Description

Definition at line 27 of file ldbal.h.


Constructor & Destructor Documentation

LBgroup::LBgroup ( void   ) 

Definition at line 7 of file ldbal.C.

References busy, CkLocalBranch(), localStats, pose_config, reportTo, POSE_Config::stats, and theLocalStats.

Here is the call graph for this function:

LBgroup::LBgroup ( CkMigrateMessage  )  [inline]

Definition at line 37 of file ldbal.h.


Member Function Documentation

int LBgroup::computeObjectLoad ( POSE_TimeType  ovt,
POSE_TimeType  eet,
double  rbOh,
int  sync,
POSE_TimeType  gvt 
)

Definition at line 17 of file ldbal.C.

References offset, pose_config, and POSE_Config::spec_window.

Referenced by computePeLoad().

Here is the caller graph for this function:

int LBgroup::computePeLoad (  ) 

Definition at line 28 of file ldbal.C.

References CkLocalBranch(), computeObjectLoad(), lbObjectNode::eet, lbObjectNode::execPrio, PVT::getGVT(), lbObjects::numSpaces, lbObjects::objs, objs, lbObjectNode::ovt, peLoad, lbObjectNode::present, lbObjectNode::rbOh, lbObjectNode::sync, and ThePVT.

Referenced by calculateLocalLoad().

Here is the call graph for this function:

Here is the caller graph for this function:

int LBgroup::findHeaviestUnder ( int  loadDiff,
int  prioLoad,
int **  mvObjs,
int  pe,
int contrib 
)

Definition at line 43 of file ldbal.C.

References lbObjectNode::execPrio, lbObjects::numSpaces, lbObjects::objs, objs, and lbObjectNode::present.

Referenced by balance().

Here is the caller graph for this function:

int LBgroup::objRegister ( int  arrayIdx,
int  sync,
sim myPtr 
)

Definition at line 71 of file ldbal.C.

References Converse::CkMyPe(), lbObjects::Insert(), and objs.

Referenced by sim::pup().

Here is the call graph for this function:

Here is the caller graph for this function:

void LBgroup::objRemove ( int  arrayIdx  ) 

Definition at line 77 of file ldbal.C.

References Converse::CkMyPe(), lbObjects::Delete(), idx, and objs.

Referenced by sim::~sim().

Here is the call graph for this function:

Here is the caller graph for this function:

void LBgroup::objUpdate ( int  ldIdx,
POSE_TimeType  ovt,
POSE_TimeType  eet,
int  ne,
double  rbOh,
int srVec 
)

Definition at line 83 of file ldbal.C.

References Converse::CkMyPe(), idx, objs, and lbObjects::UpdateEntry().

Referenced by sim::ReportLBdata().

Here is the call graph for this function:

Here is the caller graph for this function:

void LBgroup::calculateLocalLoad ( void   ) 

void LBgroup::balance ( BalanceSpecs bs  ) 


Field Documentation

Definition at line 31 of file ldbal.h.

Referenced by balance(), calculateLocalLoad(), and LBgroup().

Definition at line 33 of file ldbal.h.

Referenced by calculateLocalLoad(), and LBgroup().

int LBgroup::peLoad [private]

Definition at line 33 of file ldbal.h.

Referenced by balance(), and computePeLoad().

int LBgroup::busy [private]

Definition at line 33 of file ldbal.h.

Referenced by balance(), calculateLocalLoad(), and LBgroup().


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

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