PPL Logo

WSLB Class Reference
[Charm++ Load Balancing Framework]

#include <WSLB.h>

Inheritance diagram for WSLB:

Inheritance graph
[legend]
Collaboration diagram for WSLB:

Collaboration graph
[legend]

Public Member Functions

 WSLB (const CkLBOptions &)
 WSLB (CkMigrateMessage *m)
 ~WSLB ()
void AtSync (void)
void ReceiveStats (WSLBStatsMsg *)
void ResumeClients ()
void ReceiveMigration (LBMigrateMsg *)
void Migrated (LDObjHandle h, int waitBarrier)
void MigrationDone (void)
int step ()

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 LBMigrateMsgStrategy (LDStats *stats, int count)
virtual int num_neighbors ()
virtual void neighbors (int *_n)

Protected Attributes

struct {
   int   proc_speed
   double   total_walltime
   double   total_cputime
   double   idletime
   double   bg_walltime
   double   bg_cputime
   int   obj_data_sz
   LDObjData *   objData
   int   comm_data_sz
   LDCommData *   commData
   double   obj_walltime
   double   obj_cputime
myStats

Private Member Functions

void FindNeighbors ()
WSLBStatsMsgAssembleStats ()

Private Attributes

LBTopologytopo
int mystep
int stats_msg_count
WSLBStatsMsg ** 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
double first_step_time
double usage
double usage_int_err
bool vacate

Data Structures

struct  LDStats

Detailed Description

Definition at line 24 of file WSLB.h.


Constructor & Destructor Documentation

WSLB::WSLB ( CkMigrateMessage m  )  [inline]

Definition at line 28 of file WSLB.h.


Member Function Documentation

static void WSLB::staticMigrated ( void *  me,
LDObjHandle  h,
int  waitBarrier 
) [static]

Referenced by WSLB().

Here is the caller graph for this function:

int WSLB::step (  )  [inline]

Definition at line 42 of file WSLB.h.

References mystep.

Referenced by AtSync(), and MigrationDone().

Here is the caller graph for this function:

virtual int WSLB::num_neighbors (  )  [inline, protected, virtual]

Definition at line 62 of file WSLB.h.

References Converse::CkNumPes().

Here is the call graph for this function:

virtual void WSLB::neighbors ( int _n  )  [inline, protected, virtual]

Definition at line 65 of file WSLB.h.

References Converse::CkMyPe(), and Converse::CkNumPes().

Here is the call graph for this function:


Field Documentation

Definition at line 84 of file WSLB.h.

Referenced by Strategy().

Definition at line 85 of file WSLB.h.

Definition at line 86 of file WSLB.h.

Definition at line 87 of file WSLB.h.

Definition at line 88 of file WSLB.h.

Definition at line 89 of file WSLB.h.

Definition at line 90 of file WSLB.h.

Definition at line 91 of file WSLB.h.

Definition at line 92 of file WSLB.h.

Definition at line 93 of file WSLB.h.

Definition at line 94 of file WSLB.h.

Definition at line 95 of file WSLB.h.

struct { ... } WSLB::myStats [protected]

Referenced by AssembleStats(), Strategy(), and WSLB().

LBTopology* WSLB::topo [private]

Definition at line 102 of file WSLB.h.

Referenced by FindNeighbors(), and WSLB().

int WSLB::mystep [private]

Definition at line 103 of file WSLB.h.

Referenced by MigrationDone(), step(), and WSLB().

Definition at line 104 of file WSLB.h.

Referenced by ReceiveStats(), and WSLB().

Definition at line 105 of file WSLB.h.

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

Definition at line 106 of file WSLB.h.

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

Definition at line 107 of file WSLB.h.

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

Definition at line 108 of file WSLB.h.

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

Definition at line 109 of file WSLB.h.

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

Definition at line 110 of file WSLB.h.

Referenced by ReceiveMigration(), and WSLB().

Definition at line 111 of file WSLB.h.

Referenced by AtSync(), FindNeighbors(), ReceiveMigration(), and ReceiveStats().

int* WSLB::neighbor_pes [private]

Definition at line 112 of file WSLB.h.

Referenced by AtSync(), FindNeighbors(), ReceiveMigration(), ReceiveStats(), WSLB(), and ~WSLB().

Definition at line 113 of file WSLB.h.

Referenced by ReceiveStats(), and WSLB().

double WSLB::start_lb_time [private]

Definition at line 114 of file WSLB.h.

Referenced by AtSync(), and MigrationDone().

double WSLB::first_step_time [private]

Definition at line 115 of file WSLB.h.

Referenced by QueryBalanceNow().

double WSLB::usage [private]

Definition at line 116 of file WSLB.h.

Referenced by AssembleStats(), Strategy(), and WSLB().

double WSLB::usage_int_err [private]

Definition at line 117 of file WSLB.h.

Referenced by AssembleStats(), and WSLB().

bool WSLB::vacate [private]

Definition at line 118 of file WSLB.h.

Referenced by AssembleStats(), QueryBalanceNow(), Strategy(), and WSLB().


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

Generated on Mon Sep 21 08:31:46 2020 for Charm++ by  doxygen 1.5.5