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 ()
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 bool QueryBalanceNow (int)
virtual bool 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

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
bool 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 27 of file NborBaseLB.h.


Member Function Documentation

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

Definition at line 73 of file NborBaseLB.h.

Referenced by AtSync().

Here is the caller graph for this function:

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

Definition at line 74 of file NborBaseLB.h.

Referenced by AssembleStats().

Here is the caller graph for this function:


Field Documentation

Definition at line 24 of file NborBaseLB.h.

Referenced by FindNeighbors(), and NborBaseLB().

Definition at line 79 of file NborBaseLB.h.

Referenced by AssembleStats(), and NborBaseLB().

Definition at line 85 of file NborBaseLB.h.

Referenced by NborBaseLB(), and ReceiveStats().

Definition at line 86 of file NborBaseLB.h.

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

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 Migrated(), MigrationDone(), NborBaseLB(), and ReceiveMigration().

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 FindNeighbors(), NborBaseLB(), ReceiveMigration(), and ~NborBaseLB().

Definition at line 91 of file NborBaseLB.h.

Referenced by NborBaseLB(), and ReceiveMigration().

Definition at line 94 of file NborBaseLB.h.

Referenced by NborBaseLB(), and ReceiveStats().

double NborBaseLB::start_lb_time [private]

Definition at line 95 of file NborBaseLB.h.

Referenced by AtSync(), and ResumeClients().


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

Generated on Mon Sep 21 08:27:52 2020 for Charm++ by  doxygen 1.5.5