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, 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, int dataSz)
 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)
int cpd_memory_length (void *)
void cpd_memory_pup (void *, void *, CpdListItemsRequest *)
void cpd_memory_leak (void *, void *, CpdListItemsRequest *)
int cpd_memory_getLength (void *)
void cpd_memory_get (void *, void *, CpdListItemsRequest *)
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 47 of file register.C.

Referenced by CkRegisterEp().

int CkDisableTracing ( int  epIdx  ) 

Definition at line 133 of file register.C.

References _entryTable, and CmiFalse.

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

void CkEnableTracing ( int  epIdx  ) 

Definition at line 140 of file register.C.

References _entryTable, and CmiTrue.

Referenced by CkSendMsgArrayInline().

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

Definition at line 145 of file register.C.

References _entryTable, c, and p.

Referenced by _registerDone().

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

Definition at line 155 of file register.C.

References _msgTable, c, and size.

Referenced by _registerDone().

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

Definition at line 160 of file register.C.

References _chareTable, c, p, and size.

Referenced by _registerDone().

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

Definition at line 170 of file register.C.

References _mainTable, and c.

Referenced by _registerDone().

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

Definition at line 175 of file register.C.

References _readonlyTable, c, p, size, and type.

Referenced by _registerDone().

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

Definition at line 183 of file register.C.

References _readonlyMsgs, c, CkPupMessage(), p, and type.

Referenced by _registerDone().

void CpdCharmInit ( void   ) 

Definition at line 624 of file debug-charm.C.

References CcsRegisterHandler(), CpdBreakPointInit(), CpdContinueFromBreakPoint(), CpdDeliverSingleMessage(), CpdIsCharmDebugMessage(), CpdIsDebugMessage, CpdListRegister(), CpdQuitDebug(), CpdRemoveAllBreakPoints(), CpdRemoveBreakPoint(), CpdSetBreakPoint(), CpdStartGdb(), hostInfo(), and hostInfoLength().

Referenced by _registerDone().

int cpd_memory_length ( void *   ) 

Definition at line 117 of file memory-charmdebug.c.

Referenced by _registerDone().

void cpd_memory_pup ( void *  ,
void *  ,
CpdListItemsRequest  
)

Definition at line 157 of file memory-charmdebug.c.

Referenced by _registerDone(), and cpd_memory_leak().

void cpd_memory_leak ( void *  ,
void *  ,
CpdListItemsRequest  
)

Definition at line 168 of file memory-charmdebug.c.

Referenced by _registerDone().

int cpd_memory_getLength ( void *   ) 

Definition at line 178 of file memory-charmdebug.c.

Referenced by _registerDone().

void cpd_memory_get ( void *  ,
void *  ,
CpdListItemsRequest  
)

Definition at line 179 of file memory-charmdebug.c.

Referenced by _registerDone().

void CkPrintEntryMethod ( int  epIdx  ) 

Definition at line 217 of file register.C.

References _entryTable, EntryInfo::chareIdx, CkPrintChareName(), and EntryInfo::name.

Referenced by CkLocRec_buffering::isObsolete().

void CkPrintChareName ( int  chareIdx  ) 

Definition at line 228 of file register.C.

References _chareTable, and c.

Referenced by CkPrintEntryMethod().


Variable Documentation

int __registerDone = 0 [static]

Definition at line 30 of file register.C.

Referenced by _registerInit().


Generated on Sun Jun 29 13:29:32 2008 for Charm++ by  doxygen 1.5.1