tk::LBSwitch class

Load balancer switch Charm++ chare group class

Instantiations of LBSwitch comprise a processor aware Charm++ chare group. When instantiated, a new object is created on each PE and not more (as opposed to individual chares or chare array object elements). See also the Charm++ interface file lbswitch.ci.

Public static functions

static void off()
Turn off automatic load balancing.

Constructors, destructors, conversion operators

LBSwitch() explicit
Constructor: turn on automatic load balancing.
LBSwitch(CkMigrateMessage* m) explicit
Migrate constructor.

Charm++ pack/unpack serializer member functions

void pup(PUP::er&) override
Pack/Unpack serialize member function.
void operator|(PUP::er& p, LBSwitch& m)
Pack/Unpack serialize operator|.

Function documentation

static void tk::LBSwitch::off()

Turn off automatic load balancing.

Since this is a [initproc] routine, the runtime system executes the routine exactly once on every PE early on in the Charm++ init sequence. Must be static as it is called without an object. See also: Section "Initializations at Program Startup" at in the Charm++ manual http://charm.cs.illinois.edu/manuals/html/charm++/manual.html.

void tk::LBSwitch::pup(PUP::er&) override

Pack/Unpack serialize member function.

void tk::LBSwitch::operator|(PUP::er& p, LBSwitch& m)

Pack/Unpack serialize operator|.

Parameters
in/out Charm++'s PUP::er serializer object reference
in/out LBSwitch object reference