Go to the source code of this file.
typedef CkHashtableTslow<int,EntryInfo *> CpdBpFuncTable_t |
Definition at line 753 of file debug-charm.C.
CkpvDeclare | ( | int | , | |
skipBreakpoint | ||||
) |
CkpvDeclare | ( | DebugEntryTable | , | |
_debugEntryTable | ||||
) |
void CpdFinishInitialization | ( | ) |
Definition at line 43 of file debug-charm.C.
References _entryTable.
Referenced by _initCharm().
void resetAllCRC | ( | ) |
void checkAllCRC | ( | int | report | ) |
void * CpdGetCurrentObject | ( | ) |
Definition at line 63 of file debug-charm.C.
References DebugRecursiveEntry::obj, and CkQ< T >::peek().
Referenced by CpdPythonGroup::buildIterator().
void * CpdGetCurrentMsg | ( | ) |
Definition at line 64 of file debug-charm.C.
References DebugRecursiveEntry::msg, and CkQ< T >::peek().
Referenced by CpdPythonGroup::getMessage().
int CpdInUserCode | ( | ) |
Definition at line 67 of file debug-charm.C.
References DebugRecursiveEntry::alreadyUserCode, cpdInSystem, CkQ< T >::length(), and CkQ< T >::peek().
void CpdBeforeEp | ( | int | ep, | |
void * | obj, | |||
void * | msg | |||
) |
Definition at line 70 of file debug-charm.C.
References _entryTable, DebugRecursiveEntry::alreadyUserCode, CmiReference(), CpdResetMemory(), CpdSystemExit(), memoryBackup, DebugRecursiveEntry::memoryBackup, DebugRecursiveEntry::msg, DebugRecursiveEntry::obj, CkQ< T >::peek(), DebugRecursiveEntry::previousChareID, CkQ< T >::push(), setMemoryChareIDFromPtr(), and UsrToEnv().
Referenced by CkDeliverMessageFree(), and CkDeliverMessageReadonly().
void CpdAfterEp | ( | int | ep | ) |
Definition at line 100 of file debug-charm.C.
References _entryTable, DebugRecursiveEntry::alreadyUserCode, CmiFree(), CpdCheckMemory(), CpdSystemEnter(), CkQ< T >::deq(), DebugRecursiveEntry::memoryBackup, memoryBackup, DebugRecursiveEntry::msg, msg, CkQ< T >::peek(), DebugRecursiveEntry::previousChareID, setMemoryChareID(), and UsrToEnv().
Referenced by CkDeliverMessageFree(), and CkDeliverMessageReadonly().
size_t hostInfoLength | ( | void * | ) |
Definition at line 355 of file debug-charm.C.
Referenced by CpdCharmInit().
void hostInfo | ( | void * | itemIter, | |
pup_er | pp, | |||
CpdListItemsRequest * | req | |||
) |
Definition at line 357 of file debug-charm.C.
References CmiAbort(), CpdListBeginItem(), and p.
Referenced by CpdCharmInit().
CkpvExtern | ( | void * | , | |
debugQueue | ||||
) |
void CpdPupMessage | ( | PUP::er & | p, | |
void * | msg | |||
) |
Definition at line 379 of file debug-charm.C.
References _entryTable, ArrayEltInitMsg, BocInitMsg, CkMessage::ckDebugPup(), CkMessageToEpIdx(), PUP::er::comment(), FillVidMsg, ForArrayEltMsg, ForBocMsg, ForChareMsg, ForNodeBocMsg, ForVidMsg, envelope::getArrayMgr(), envelope::getGroupNum(), envelope::getMsgIdx(), envelope::getMsgtype(), envelope::getObjPtr(), envelope::getPriobits(), envelope::getRecipientID(), envelope::getSrcPe(), envelope::getTotalsize(), envelope::getVidPtr(), _ckGroupID::idx, NewVChareMsg, NodeBocInitMsg, size, PUP::sync_begin_object, PUP::sync_end_object, PUP::er::synchronize(), and UsrToEnv().
Referenced by CpdList_message::pup(), CpdList_localQ::pup(), and CpdList_localQ::pupSingleMessage().
CkpvStaticDeclare | ( | void * | , | |
lastBreakPointMsg | ||||
) |
CpvExtern | ( | void * | , | |
conditionalQueue | ||||
) |
static void CpdDeliverMessageInt | ( | int | msgNum | ) | [static] |
Definition at line 551 of file debug-charm.C.
References _conditionalDelivery, CdsFifo_Dequeue(), CdsFifo_Enqueue(), CmiHandleMessage(), CmiReference(), ConditionalList::count, PUP::m, and ConditionalList::msgs.
Referenced by CpdDeliverMessage(), CpdDeliverMessageConditionally(), and CpdEndConditionalDeliver_master().
void CpdDeliverMessage | ( | char * | msg | ) |
Definition at line 574 of file debug-charm.C.
References CpdDeliverMessageInt().
Referenced by CpdCharmInit().
void* CpdGetNextMessageConditional | ( | CsdSchedulerState_t * | s | ) |
Definition at line 581 of file debug-charm.C.
References CdsFifo_Dequeue(), CmiAbort(), CmiAlloc(), CmiFree(), conditionalPipe, CqsDequeue(), len, CsdSchedulerState_t::localQ, msg, and CsdSchedulerState_t::schedQ.
Referenced by CpdConditional_SetupComm().
void CpdDeliverSingleMessage | ( | ) |
Definition at line 811 of file debug-charm.C.
References _conditionalDelivery, EntryInfo::call, CdsFifo_Dequeue(), CdsFifo_Empty(), CdsFifo_Enqueue(), CmiHandleMessage(), CmiReference(), ConditionalList::count, CpdIsFrozen(), ConditionalList::msgs, and UsrToEnv().
Referenced by CpdCharmInit(), CpdDeliverMessageConditionally(), and CpdEndConditionalDeliver_master().
static pid_t CpdConditional_SetupComm | ( | ) | [static] |
Definition at line 604 of file debug-charm.C.
References _conditionalDelivery, buf, CcsSendReply(), Ck::IO::close(), CmiAbort(), CmiPrintf(), conditionalPipe, ConditionalList::count, CpdGetNextMessage, CpdGetNextMessageConditional(), ConditionalList::deliver, free(), and malloc().
Referenced by CpdDeliverMessageConditionally(), and CpdEndConditionalDeliver_master().
void CpdEndConditionalDelivery | ( | char * | msg | ) |
Definition at line 656 of file debug-charm.C.
References ConditionalList::count, PUP::m, and ConditionalList::msgs.
Referenced by CpdCharmInit().
void CpdEndConditionalDeliver_master | ( | void | ) |
Definition at line 668 of file debug-charm.C.
Referenced by CcsHandleRequest().
void CpdDeliverMessageConditionally | ( | char * | msg | ) |
Definition at line 713 of file debug-charm.C.
References CpdConditional_SetupComm(), CpdDeliverMessageInt(), CpdDeliverSingleMessage(), and PUP::m.
Referenced by CpdCharmInit().
void CpdCommitConditionalDelivery | ( | char * | msg | ) |
Definition at line 725 of file debug-charm.C.
References ConditionalList::deliver.
Referenced by CpdCharmInit().
void CpdFreeze | ( | void | ) |
Definition at line 135 of file middle-ccs.C.
Referenced by _call_freeze_on_break_point(), _initCharm(), cpd_memory_single_pup(), CpdPythonGroup::cpdCheck(), and ntohl().
void CpdUnFreeze | ( | void | ) |
Definition at line 149 of file middle-ccs.C.
Referenced by CpdContinueFromBreakPoint().
int CpdIsFrozen | ( | void | ) |
Definition at line 154 of file middle-ccs.C.
Referenced by CpdDeliverSingleMessage(), and ntohl().
CpvStaticDeclare | ( | int | , | |
_debugMsg | ||||
) |
CpvStaticDeclare | ( | int | , | |
_debugChare | ||||
) |
CpvStaticDeclare | ( | CpdBpFuncTable_t * | , | |
breakPointEntryTable | ||||
) |
CkpvStaticDeclare | ( | void * | , | |
lastBreakPointObject | ||||
) |
CkpvStaticDeclare | ( | int | , | |
lastBreakPointIndex | ||||
) |
static void _call_freeze_on_break_point | ( | void * | msg, | |
void * | object | |||
) | [static] |
Definition at line 785 of file debug-charm.C.
References EntryInfo::call, CkMessageToEpIdx(), CPD_BREAKPOINT, CpdFreeze(), CpdNotify(), and EntryInfo::name.
Referenced by CpdSetBreakPoint().
void CpdContinueFromBreakPoint | ( | ) |
Definition at line 853 of file debug-charm.C.
References EntryInfo::call, and CpdUnFreeze().
Referenced by CpdCharmInit(), and CpdQuitDebug().
void CpdSetBreakPoint | ( | char * | msg | ) |
Definition at line 874 of file debug-charm.C.
References _call_freeze_on_break_point(), _entryTable, CcsSendReply(), EntryInfo::msgIdx, and name.
Referenced by CpdCharmInit().
void CpdQuitDebug | ( | ) |
Definition at line 916 of file debug-charm.C.
References CkExit(), and CpdContinueFromBreakPoint().
Referenced by CpdCharmInit().
void CpdRemoveBreakPoint | ( | char * | msg | ) |
Definition at line 922 of file debug-charm.C.
References _entryTable, EntryInfo::call, CcsSendReply(), idx, EntryInfo::msgIdx, and EntryInfo::name.
Referenced by CpdCharmInit().
void CpdRemoveAllBreakPoints | ( | ) |
Definition at line 949 of file debug-charm.C.
References _entryTable, EntryInfo::call, CcsSendReply(), idx, EntryInfo::msgIdx, EntryInfo::name, and CkHashtableIterator::next().
Referenced by CpdCharmInit().
int CpdIsCharmDebugMessage | ( | void * | msg | ) |
Definition at line 970 of file debug-charm.C.
References _charmHandlerIdx, _entryTable, FillVidMsg, ForVidMsg, envelope::getEpIdx(), and envelope::getMsgtype().
Referenced by CpdCharmInit().
CpvExtern | ( | int | , | |
_bgCcsHandlerIdx | ||||
) |
int CpdIsBgCharmDebugMessage | ( | void * | msg | ) |
Definition at line 979 of file debug-charm.C.
References _charmHandlerIdx, _entryTable, FillVidMsg, ForVidMsg, and envelope::getMsgtype().
Referenced by CpdCharmInit().
CpvExtern | ( | char * | , | |
displayArgument | ||||
) |
void CpdStartGdb | ( | void | ) |
Definition at line 996 of file debug-charm.C.
References CmiAbort(), CmiMyPe(), and CmiPrintf().
Referenced by CpdCharmInit().
void cpd_memory_pup | ( | void * | , | |
void * | , | |||
CpdListItemsRequest * | ||||
) |
Referenced by cpd_memory_single_pup(), and CpdCharmInit().
void cpd_memory_leak | ( | void * | , | |
void * | , | |||
CpdListItemsRequest * | ||||
) |
void cpd_memory_get | ( | void * | , | |
void * | , | |||
CpdListItemsRequest * | ||||
) |
Referenced by cpd_memory_single_pup(), and CpdCharmInit().
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().
CpvExtern | ( | int | , | |
_bgCcsAck | ||||
) |
void req_fw_handler | ( | char * | ) |
Definition at line 21 of file middle-ccs.C.
Referenced by CcsInit(), and CpdBgInit().
CkpvExtern | ( | int | , | |
freezeModeFlag | ||||
) |
void BgProcessMessageFreezeMode | ( | threadInfo * | , | |
char * | ||||
) |
Definition at line 160 of file middle-ccs.C.
References CdsFifo_Dequeue(), CdsFifo_Empty(), CdsFifo_Enqueue(), and CpdIsDebugMessage.
Referenced by CpdBgInit().
Definition at line 41 of file debug-charm.C.
Definition at line 61 of file debug-charm.C.
ConditionalList* conditionalShm = NULL |
Definition at line 440 of file debug-charm.C.