PPL Logo

NborBaseLB Class Reference
[Charm++ Load Balancing Framework]

#include <NborBaseLB.h>

Inheritance diagram for NborBaseLB:

Inheritance graph
[legend]
Collaboration diagram for NborBaseLB:

Collaboration graph
[legend]

Public Member Functions

 NborBaseLB (const CkLBOptions &)
 NborBaseLB (CkMigrateMessage *m)
 ~NborBaseLB ()
void AtSync (void)
void ReceiveStats (CkMarshalledNLBStatsMessage &m)
void ResumeClients (CkReductionMsg *msg)
void ResumeClients (int balancing)
void ReceiveMigration (LBMigrateMsg *)
void Migrated (LDObjHandle h, int waitBarrier)
void MigrationDone (int balancing)

Static Public Member Functions

static void staticAtSync (void *)
static void staticMigrated (void *me, LDObjHandle h, int waitBarrier)

Protected Member Functions

virtual CmiBool QueryBalanceNow (int)
virtual CmiBool QueryMigrateStep (int)
virtual LBMigrateMsgStrategy (LDStats *stats, int n_nbrs)
int NeighborIndex (int pe)

Protected Attributes

LDStats myStats

Private Member Functions

void FindNeighbors ()
NLBStatsMsgAssembleStats ()

Private Attributes

CProxy_NborBaseLB thisProxy
LBTopologytopo
int stats_msg_count
NLBStatsMsg ** statsMsgsList
LDStatsstatsDataList
int migrates_completed
int migrates_expected
LBMigrateMsg ** mig_msgs
int mig_msgs_received
int mig_msgs_expected
intneighbor_pes
int receive_stats_ready
double start_lb_time

Data Structures

struct  LDStats

Detailed Description

Definition at line 21 of file NborBaseLB.h.


Constructor & Destructor Documentation

NborBaseLB::NborBaseLB ( CkMigrateMessage m  )  [inline]

Definition at line 28 of file NborBaseLB.h.


Member Function Documentation

virtual CmiBool NborBaseLB::QueryBalanceNow ( int   )  [inline, protected, virtual]

Reimplemented in NeighborCommLB, and NeighborLB.

Definition at line 74 of file NborBaseLB.h.

References CmiTrue.

Referenced by AtSync().

virtual CmiBool NborBaseLB::QueryMigrateStep ( int   )  [inline, protected, virtual]

Definition at line 75 of file NborBaseLB.h.

References CmiTrue.

Referenced by AssembleStats().


Field Documentation

CProxy_NborBaseLB NborBaseLB::thisProxy [private]

Definition at line 24 of file NborBaseLB.h.

Referenced by AtSync(), MigrationDone(), NborBaseLB(), and ReceiveStats().

Definition at line 25 of file NborBaseLB.h.

Referenced by FindNeighbors(), NborBaseLB(), and NeighborCommLB::Strategy().

Definition at line 86 of file NborBaseLB.h.

Referenced by NborBaseLB(), and ReceiveStats().

Definition at line 87 of file NborBaseLB.h.

Referenced by FindNeighbors(), NborBaseLB(), ReceiveStats(), and ~NborBaseLB().

Definition at line 88 of file NborBaseLB.h.

Referenced by FindNeighbors(), NborBaseLB(), ReceiveStats(), and ~NborBaseLB().

Definition at line 89 of file NborBaseLB.h.

Referenced by Migrated(), MigrationDone(), NborBaseLB(), and ReceiveMigration().

Definition at line 90 of file NborBaseLB.h.

Referenced by Migrated(), MigrationDone(), NborBaseLB(), and ReceiveMigration().

Definition at line 91 of file NborBaseLB.h.

Referenced by FindNeighbors(), NborBaseLB(), ReceiveMigration(), and ~NborBaseLB().

Definition at line 92 of file NborBaseLB.h.

Referenced by NborBaseLB(), and ReceiveMigration().

Definition at line 95 of file NborBaseLB.h.

Referenced by NborBaseLB(), and ReceiveStats().

Definition at line 96 of file NborBaseLB.h.

Referenced by AtSync(), and ResumeClients().


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

Generated on Fri May 25 08:04:28 2012 for Charm++ by  doxygen 1.5.5