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 |
void ckInvalidCallFn | ( | void * | msg, | |
void * | obj | |||
) |
Definition at line 39 of file register.C.
Referenced by CkRegisterEpInternal().
static int CkRegisterEpInternal | ( | const char * | name, | |
CkCallFnPtr | call, | |||
int | msgIdx, | |||
int | chareIdx, | |||
int | ck_ep_flags, | |||
bool | isTemplated | |||
) | [static] |
Definition at line 44 of file register.C.
References __registerDone, CkRegisteredInfo< T >::add(), EntryInfo::appWork, ckInvalidCallFn(), BGConverse::CkMyRank(), EntryInfo::inCharm, EntryInfo::isImmediate, EntryInfo::isInline, EntryInfo::isMemCritical, EntryInfo::noKeep, numMemCriticalEntries, and EntryInfo::traceEnabled.
Referenced by CkRegisterEp(), and CkRegisterEpTemplated().
Definition at line 232 of file register.C.
References _smp_mutex, CmiLock(), and CmiUnlock().
Referenced by _ckArrayInit(), and CkSendMsgArrayInline().
void CkEnableTracing | ( | int | epIdx | ) |
Definition at line 240 of file register.C.
References _smp_mutex, CmiLock(), and CmiUnlock().
Referenced by CkSendMsgArrayInline().
Definition at line 247 of file register.C.
References c, PUP::er::comment(), name, and p.
Referenced by _registerDone().
Definition at line 258 of file register.C.
Referenced by _registerDone().
Definition at line 263 of file register.C.
References ChareInfo::bases, c, PUP::er::comment(), name, ChareInfo::numbases, p, and size.
Referenced by _registerDone().
Definition at line 273 of file register.C.
Referenced by _registerDone().
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().
Definition at line 286 of file register.C.
References c, CkPupMessage(), PUP::er::comment(), name, ReadonlyMsgInfo::pMsg, and type.
Referenced by _registerDone().
void CpdCharmInit | ( | void | ) |
Definition at line 1048 of file debug-charm.C.
References CcsRegisterHandler(), CcsSetMergeFn(), CmiReduceMergeFn_random(), cpd_memory_get(), cpd_memory_getLength(), cpd_memory_length(), cpd_memory_pup(), CpdCommitConditionalDelivery(), CpdContinueFromBreakPoint(), CpdDeliverMessage(), CpdDeliverMessageConditionally(), CpdDeliverSingleMessage(), CpdEndConditionalDelivery(), CpdGetNextMessage, CpdIsBgCharmDebugMessage(), CpdIsCharmDebugMessage(), CpdIsDebugMessage, CpdListRegister(), CpdQuitDebug(), CpdRemoveAllBreakPoints(), CpdRemoveBreakPoint(), CpdSetBreakPoint(), CpdStartGdb(), CsdNextMessage(), hostInfo(), and hostInfoLength().
Referenced by _registerDone().
void CkPrintEntryMethod | ( | int | epIdx | ) |
Definition at line 313 of file register.C.
References EntryInfo::chareIdx, CkPrintChareName(), EntryInfo::name, and CkRegisteredInfo< T >::size().
void CkPrintChareName | ( | int | chareIdx | ) |
Definition at line 324 of file register.C.
References c, ChareInfo::name, and CkRegisteredInfo< T >::size().
Referenced by CkPrintEntryMethod().
int __registerDone = 0 [static] |
Definition at line 25 of file register.C.
Referenced by _registerDone(), _registerInit(), and CkRegisterEpInternal().