PPL Logo

ck-core/register.C File Reference

Go to the source code of this file.

Functions

void _registerInit (void)
int CkRegisterMsg (const char *name, CkPackFnPtr pack, CkUnpackFnPtr unpack, CkDeallocFnPtr dealloc, size_t size)
 Register this message name, with this basic size and pack and unpack functions.
void ckInvalidCallFn (void *msg, void *obj)
int CkRegisterEp (const char *name, CkCallFnPtr call, int msgIdx, int chareIdx, int ck_ep_flags)
 Register this entry point, with this call function and flags.
int CkRegisterChare (const char *name, size_t dataSz, ChareType chareType)
 Register this type of chare (group, or array), with this size.
void CkRegisterChareInCharm (int chareIndex)
 Register this chare as internal to Charm++.
void CkRegisterGroupIrr (int chareIndex, int isIrr)
 Indicate whether this group is an IrrGroup.
void CkRegisterDefaultCtor (int chareIdx, int ctorEpIdx)
 Register a default constructor for this chare.
void CkRegisterMigCtor (int chareIdx, int ctorEpIdx)
 Register a migration constructor for this chare.
int CkRegisterMainChare (int chareIdx, int entryIdx)
 Register this chare as a mainchare, with this entry point as its constructor.
void CkRegisterBase (int derivedIdx, int baseIdx)
 Register the chare baseIdx as a base class of the chare derivedIdx.
void CkRegisterReadonly (const char *name, const char *type, int size, void *ptr, CkPupReadonlyFnPtr pup_fn)
 Register this readonly global variable.
void CkRegisterReadonlyMsg (const char *name, const char *type, void **pMsg)
 Register this readonly message.
void CkRegisterMarshallUnpackFn (int epIndex, CkMarshallUnpackFn m)
 Register this marshall unpack function with this entry point.
CkMarshallUnpackFn CkLookupMarshallUnpackFn (int epIndex)
 Lookup the marshall unpack function, if any, for this entry point.
void CkRegisterMessagePupFn (int epIndex, CkMessagePupFn m)
 Register this message pup function with this entry point.
int CkDisableTracing (int epIdx)
void CkEnableTracing (int epIdx)
static void pupEntry (PUP::er &p, int index)
static void pupMsg (PUP::er &p, int i)
static void pupChare (PUP::er &p, int i)
static void pupMain (PUP::er &p, int i)
static void pupReadonly (PUP::er &p, int i)
static void pupReadonlyMsg (PUP::er &p, int i)
void CpdCharmInit (void)
void _registerDone (void)
void CkPrintEntryMethod (int epIdx)
void CkPrintChareName (int chareIdx)

Variables

CkRegisteredInfo< EntryInfo_entryTable
 These tables are shared between all processors on a node.
CkRegisteredInfo< MsgInfo_msgTable
CkRegisteredInfo< ChareInfo_chareTable
CkRegisteredInfo< MainInfo_mainTable
CkRegisteredInfo< ReadonlyInfo_readonlyTable
CkRegisteredInfo< ReadonlyMsgInfo_readonlyMsgs
static int __registerDone = 0


Function Documentation

void ckInvalidCallFn ( void *  msg,
void *  obj 
)

Definition at line 41 of file register.C.

Referenced by CkRegisterEp().

int CkDisableTracing ( int  epIdx  ) 

Definition at line 138 of file register.C.

References CmiFalse.

Referenced by _ckArrayInit(), _CkLocMgrInit(), and CkSendMsgArrayInline().

void CkEnableTracing ( int  epIdx  ) 

Definition at line 145 of file register.C.

References CmiTrue.

Referenced by CkSendMsgArrayInline().

static void pupEntry ( PUP::er p,
int  index 
) [static]

Definition at line 150 of file register.C.

References c, PUP::er::comment(), and p.

Referenced by _registerDone().

static void pupMsg ( PUP::er p,
int  i 
) [static]

Definition at line 161 of file register.C.

References c, and size.

Referenced by _registerDone().

static void pupChare ( PUP::er p,
int  i 
) [static]

Definition at line 166 of file register.C.

References ChareInfo::bases, c, PUP::er::comment(), ChareInfo::numbases, p, and size.

Referenced by _registerDone().

static void pupMain ( PUP::er p,
int  i 
) [static]

Definition at line 176 of file register.C.

References c.

Referenced by _registerDone().

static void pupReadonly ( PUP::er p,
int  i 
) [static]

Definition at line 181 of file register.C.

References c, PUP::er::comment(), p, ReadonlyInfo::ptr, ReadonlyInfo::size, size, and type.

Referenced by _registerDone().

static void pupReadonlyMsg ( PUP::er p,
int  i 
) [static]

Definition at line 189 of file register.C.

References c, CkPupMessage(), PUP::er::comment(), ReadonlyMsgInfo::pMsg, and type.

Referenced by _registerDone().

void CpdCharmInit ( void   ) 

void CkPrintEntryMethod ( int  epIdx  ) 

void CkPrintChareName ( int  chareIdx  ) 

Definition at line 225 of file register.C.

References c, ChareInfo::name, and CkRegisteredInfo< T >::size().

Referenced by CkPrintEntryMethod().


Variable Documentation

int __registerDone = 0 [static]

Definition at line 24 of file register.C.


Generated on Sat May 26 08:08:06 2012 for Charm++ by  doxygen 1.5.5