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)
static int CkRegisterEpInternal (const char *name, CkCallFnPtr call, int msgIdx, int chareIdx, int ck_ep_flags, bool isTemplated)
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 CkRegisterEpTemplated (const char *name, CkCallFnPtr call, int msgIdx, int chareIdx, int ck_ep_flags)
int CkRegisterChare (const char *name, size_t dataSz, ChareType chareType)
 Register this type of chare (group, or array), with this size.
void CkRegisterArrayDimensions (int chareIndex, int ndims)
 Register number of array dimensions for this chare array.
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 CkRegisterGroupExt (const char *s, int numEntryMethods, int *chareIdx, int *startEpIdx)
void CkRegisterArrayMapExt (const char *s, int numEntryMethods, int *chareIdx, int *startEpIdx)
void CkRegisterArrayExt (const char *s, int numEntryMethods, int *chareIdx, int *startEpIdx)
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 CkRegisterMainChareExt (const char *s, int numEntryMethods, int *chareIdx, int *startEpIdx)
void CkRegisterBase (int derivedIdx, int baseIdx)
 Register the chare baseIdx as a base class of the chare derivedIdx.
int CkGetChareIdx (const char *name)
void CkRegisterReadonly (const char *name, const char *type, size_t size, void *ptr, CkPupReadonlyFnPtr pup_fn)
 Register this readonly global variable.
void CkRegisterReadonlyExt (const char *name, const char *type, size_t msgSize, char *msg)
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 39 of file register.C.

Referenced by CkRegisterEpInternal().

Here is the caller graph for this function:

static int CkRegisterEpInternal ( const char *  name,
CkCallFnPtr  call,
int  msgIdx,
int  chareIdx,
int  ck_ep_flags,
bool  isTemplated 
) [static]

int CkDisableTracing ( int  epIdx  ) 

Definition at line 232 of file register.C.

References _smp_mutex, CmiLock(), and CmiUnlock().

Referenced by _ckArrayInit(), and CkSendMsgArrayInline().

Here is the call graph for this function:

Here is the caller graph for this function:

void CkEnableTracing ( int  epIdx  ) 

Definition at line 240 of file register.C.

References _smp_mutex, CmiLock(), and CmiUnlock().

Referenced by CkSendMsgArrayInline().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 247 of file register.C.

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

Referenced by _registerDone().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 258 of file register.C.

References c, name, and size.

Referenced by _registerDone().

Here is the caller graph for this function:

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

Definition at line 263 of file register.C.

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

Referenced by _registerDone().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 273 of file register.C.

References c, and name.

Referenced by _registerDone().

Here is the caller graph for this function:

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

Definition at line 278 of file register.C.

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

Referenced by _registerDone().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 286 of file register.C.

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

Referenced by _registerDone().

Here is the call graph for this function:

Here is the caller graph for this function:

void CpdCharmInit ( void   ) 

void CkPrintEntryMethod ( int  epIdx  ) 

Definition at line 313 of file register.C.

References EntryInfo::chareIdx, CkPrintChareName(), EntryInfo::name, and CkRegisteredInfo< T >::size().

Here is the call graph for this function:

void CkPrintChareName ( int  chareIdx  ) 

Definition at line 324 of file register.C.

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

Referenced by CkPrintEntryMethod().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

int __registerDone = 0 [static]

Definition at line 25 of file register.C.

Referenced by _registerDone(), _registerInit(), and CkRegisterEpInternal().


Generated on Mon Sep 21 07:59:13 2020 for Charm++ by  doxygen 1.5.5