PPL Logo

ck-com/ComlibManager.h File Reference

Charm ComlibManager Contains the classes ComlibManager (charm++ delegated group) and ComlibDelegateData (its delegated data). More...

Go to the source code of this file.

Data Structures

class  ComlibDummyMsg
 Dummy message to be sent in case there are no messages to send. More...
struct  ComlibMulticastIndexCount
 Structure used to hold a count of the indeces associated to each pe in a multicast message. More...
class  ComlibMulticastMsg
 A class for multicast messages that contains the user message as well as a list of all destination indices and corresponding PEs. More...
class  ComlibManager
 The main group doing the management of all the charm system. More...
class  ComlibDelegateData
 This class is used by ComlibManager (the delegator manager) as its delegated data. More...

Functions

 CkpvExtern (CkGroupID, cmgrID)
int indexCountCompare (const void *a, const void *b)
 for use of qsort
void ComlibAssociateProxy (ComlibInstanceHandle cinst, CProxy &proxy)
 Permanently associate the given proxy with comlib, to use the instance represented by cinst.
void ComlibAssociateProxy (Strategy *strat, CProxy &proxy)
 Permanently assiciate the given proxy with comlib, to use the strategy represented by strat.
ComlibInstanceHandle ComlibRegister (Strategy *strat)
 Provided only for backward compatibility.
void ComlibBegin (CProxy &proxy, int iteration)
 Call beginIteration on the ComlibManager with the instance handle for the strategy associated with the proxy.
void ComlibEnd (CProxy &proxy, int iteration)
 Call endIteration on the ComlibManager with the instance handle for the strategy associated with the proxy.
void ComlibResetSectionProxy (CProxySection_ArrayBase &sproxy)
 The behaviour has changed from the previous version: while before this function was used to reset a proxy after a migration, now it is used to reset a proxy before it is reassociated with another strategy.
void ComlibInitSectionID (CkSectionID &sid)
void ComlibAtSync (void *msg)
void ComlibNotifyMigrationDoneHandler (void *msg)
void ComlibLBMigrationUpdate (LBMigrateMsg *)


Detailed Description

Charm ComlibManager Contains the classes ComlibManager (charm++ delegated group) and ComlibDelegateData (its delegated data).

It also declares the user interface to the framework, all beginning with the prefix "Comlib".

Definition in file ComlibManager.h.


Function Documentation

CkpvExtern ( CkGroupID  ,
cmgrID   
)

int indexCountCompare ( const void *  a,
const void *  b 
) [inline]

for use of qsort

Definition at line 177 of file ComlibManager.h.

References ComlibMulticastIndexCount::pe.

Referenced by ComlibSectionInfo::getNewMulticastMessage().

void ComlibResetSectionProxy ( CProxySection_ArrayBase &  sproxy  )  [inline]

The behaviour has changed from the previous version: while before this function was used to reset a proxy after a migration, now it is used to reset a proxy before it is reassociated with another strategy.

Definition at line 220 of file ComlibManager.h.

void ComlibAtSync ( void *  msg  ) 

void ComlibLBMigrationUpdate ( LBMigrateMsg  ) 


Generated on Tue May 15 07:51:24 2012 for Charm++ by  doxygen 1.5.5