Comm1LB Class Reference
[Charm++ Load Balancing Framework]

#include <Comm1LB.h>

Inheritance diagram for Comm1LB:

Inheritance graph
[legend]
Collaboration diagram for Comm1LB:

Collaboration graph
[legend]

Public Member Functions

 Comm1LB (const CkLBOptions &)
 Comm1LB (CkMigrateMessage *m)

Data Fields

int nobj
int npe
alloc_struct ** alloc_array
graphobject_graph

Private Member Functions

CmiBool QueryBalanceNow (int step)
void work (BaseLB::LDStats *stats, int count)
void alloc (int pe, int id, double load, int nmsg, int nbyte)
double compute_cost (int id, int pe, int n_alloc, int &out_msg, int &out_byte)
void add_graph (int x, int y, int data, int nmsg)

Detailed Description

Definition at line 32 of file Comm1LB.h.


Constructor & Destructor Documentation

Comm1LB::Comm1LB ( CkMigrateMessage m  )  [inline]

Definition at line 38 of file Comm1LB.h.


Field Documentation

int Comm1LB::nobj

Definition at line 34 of file Comm1LB.h.

Referenced by alloc(), compute_cost(), and work().

int Comm1LB::npe

Definition at line 34 of file Comm1LB.h.

Referenced by alloc(), compute_cost(), and work().

alloc_struct** Comm1LB::alloc_array

Definition at line 35 of file Comm1LB.h.

Referenced by alloc(), compute_cost(), and work().

graph* Comm1LB::object_graph

Definition at line 36 of file Comm1LB.h.

Referenced by add_graph(), compute_cost(), and work().


The documentation for this class was generated from the following files:
Generated on Sun Jun 29 13:31:44 2008 for Charm++ by  doxygen 1.5.1