Go to the source code of this file.
Functions | |
CkpvDeclare (size_t *, _offsets) | |
void * | CkAllocSysMsg (const CkEntryOptions *opts) |
void | CkFreeSysMsg (void *m) |
void * | CkAllocMsg (int msgIdx, int msgBytes, int prioBits, GroupDepNum groupDepNum) |
void * | CkAllocBuffer (void *msg, int bufsize) |
void | CkFreeMsg (void *msg) |
void * | CkCopyMsg (void **pMsg) |
void | CkSetQueueing (void *msg, int strategy) |
void * | CkPriorityPtr (void *msg) |
CkMarshallMsg * | CkAllocateMarshallMsgNoninline (int size, const CkEntryOptions *opts) |
void* CkAllocSysMsg | ( | const CkEntryOptions * | opts | ) |
Definition at line 6 of file msgalloc.C.
References _allocEnv(), CmiMemcpy(), EnvToUsr(), ForChareMsg, envelope::getGroupDepPtr(), envelope::getGroupDepSize(), envelope::getPrioBytes(), envelope::getPrioPtr(), int, envelope::setIsVarSysMsg(), setMemoryTypeMessage(), envelope::setMsgIdx(), and envelope::setQueueing().
Referenced by NullLB::AtSync(), CProxy_ArrayBase::ckCreateEmptyArray(), CProxy_ArrayBase::ckCreateEmptyArrayAsync(), CProxy_ArrayBase::ckInsertIdx(), CkPupChareData(), CkPupPerPlaceData(), CkArray::demandCreateElement(), and CkCallback::send().
void CkFreeSysMsg | ( | void * | m | ) |
Definition at line 30 of file msgalloc.C.
Referenced by ArrayElemExt::__AtSyncEntryMethod(), CkPupChareData(), and migrationDone().
void* CkAllocMsg | ( | int | msgIdx, | |
int | msgBytes, | |||
int | prioBits, | |||
GroupDepNum | groupDepNum | |||
) |
Definition at line 35 of file msgalloc.C.
References _allocEnv(), _defaultQueueing, EnvToUsr(), ForChareMsg, setMemoryTypeMessage(), envelope::setMsgIdx(), and envelope::setQueueing().
void* CkAllocBuffer | ( | void * | msg, | |
int | bufsize | |||
) |
Definition at line 46 of file msgalloc.C.
References _allocEnv(), CmiMemcpy(), EnvToUsr(), envelope::getGroupDepNum(), envelope::getMsgtype(), envelope::getPriobits(), envelope::getPrioBytes(), envelope::getPrioPtr(), envelope::getTotalsize(), int, envelope::isPacked(), envelope::setPacked(), envelope::setTotalsize(), size, and UsrToEnv().
Referenced by objListMsg::pack(), ChildInitMsg::pack(), NeighborMsg::pack(), ChildInitMsg::unpack(), and NeighborMsg::unpack().
void CkFreeMsg | ( | void * | msg | ) |
Definition at line 63 of file msgalloc.C.
References CmiFree(), and UsrToEnv().
Referenced by _handlePhase0(), _handlePhase1(), _handlePhase2(), _initCharm(), _processHandler(), LBgroup::balance(), PVT::beginCheckpoint(), PVT::beginLoadbalancing(), edge::buildLockingCloud(), sim::Cancel(), elemRef::checkIfLongEdge(), sim::CheckpointStep(), chunk::chunk(), CkCallbackSendExt(), CkSendAsyncCreateArray(), CkWaitVoidFuture(), GVT::computeGVT(), EventMsgPool::EventMsgPool(), chunk::findRemoteNeighbor(), element::flip23remote(), element::flip32remote(), edge::flipPrevent(), edgeRef::flipPrevent(), nodeRef::get(), elemRef::getArea(), edgeRef::getBoundary(), edgeRef::getNbr(), element::getNeighbor(), elemRef::getVolume(), chunk::getVolume(), elemRef::hasDependent(), CkMemCheckPT::isMaster(), edgeRef::isPending(), chunk::LEsplit(), edgeRef::lock(), chunk::lockArc(), edgeRef::locked(), element::lockLF(), chunk::newMesh(), prioMsg::operator delete(), cancelMsg::operator delete(), eventMsg::operator delete(), Stats::operator delete(), CkMessage::operator delete(), CkArrayMessage::operator delete(), CkQdMsg::operator delete(), ConfigurableRRMap::populateInitial(), CldMap::populateInitial(), BlockMap::populateInitial(), CkArrayMap::populateInitial(), LBstrategy::recvLoadReport(), element::refineCP(), element::refineLE(), element::refineLF(), chunk::relocationVote(), element::remove32element(), chunk::removeElement(), chunk::removeNode(), PVT::reportReduce(), chunk::resetTargetVolume(), PVT::resumeAfterCheckpoint(), PVT::resumeAfterLB(), CkCallback::send(), PVT::setGVT(), chunk::setTargetVolume(), edge::split(), edgeRef::split(), sim::Step(), ChildInitMsg::unpack(), NeighborMsg::unpack(), chunk::updateNodeCoord(), chunk::updateNodeCoords(), CkCallbackResumeThread::~CkCallbackResumeThread(), and CkMarshalledMessage::~CkMarshalledMessage().
void* CkCopyMsg | ( | void ** | pMsg | ) |
Definition at line 71 of file msgalloc.C.
References _msgTable, CmiAlloc(), CmiMemcpy(), EnvToUsr(), envelope::getMsgIdx(), envelope::getTotalsize(), envelope::isPacked(), setMemoryTypeMessage(), envelope::setPacked(), size, unpack(), and UsrToEnv().
Referenced by CkMulticastMgr::ArraySectionSend(), CkArray::broadcastHomeElements(), CkDeliverMessageReadonly(), CkArrayBroadcaster::deliver(), CkLocMgr::deliverMsg(), CkLocMgr::deliverUnknown(), CkCheckPTEntry::getCopy(), CkMemCheckPTInfo::getCopy(), CkMulticastMgr::GroupSectionSend(), ConfigurableRRMap::populateInitial(), CkArray::recvBroadcastViaTree(), CkMulticastMgr::recvMsg(), CkArray::sendBroadcast(), sendGroupMsg(), CkLocMgr::sendMsg(), sendNodeGroupMsg(), CkMulticastMgr::sendToLocal(), CkMulticastMgr::SimpleSend(), and CkMemCheckPT::startArrayCheckpoint().
void CkSetQueueing | ( | void * | msg, | |
int | strategy | |||
) |
Definition at line 98 of file msgalloc.C.
References envelope::setQueueing(), and UsrToEnv().
Referenced by SequentialSolver::dequeue_multiple(), NormalLineArray::doFirstFFT(), NormalLineArray::doSecondFFT(), MeshStreamer< dtype >::flushDimension(), GVT::GVT(), LV3D_RenderMsg::new_(), HybridBaseLB::NotifyObjectMigrationDone(), controlPointManager::processControlPoints(), ParallelSolver::registerRootState(), ParallelSolver::registerState(), PVT::resumeAfterCheckpoint(), PVT::resumeAfterLB(), ParallelSolver::setPriority(), prioMsg::setPriority(), cancelMsg::setPriority(), eventMsg::setPriority(), PVT::startPhase(), and MeshStreamer< dtype >::storeMessage().
void* CkPriorityPtr | ( | void * | msg | ) |
Definition at line 104 of file msgalloc.C.
References envelope::getPrioPtr(), and UsrToEnv().
Referenced by SequentialSolver::dequeue_multiple(), NormalLineArray::doFirstFFT(), NormalLineArray::doSecondFFT(), MeshStreamer< dtype >::flushDimension(), GVT::GVT(), LV3D_RenderMsg::new_(), HybridBaseLB::NotifyObjectMigrationDone(), printPriority(), controlPointManager::processControlPoints(), ParallelSolver::registerRootState(), ParallelSolver::registerState(), PVT::resumeAfterCheckpoint(), PVT::resumeAfterLB(), setMsgPriority(), SequentialSolver::setParentInfo(), ParallelSolver::setParentInfo(), ParallelSolver::setPriority(), prioMsg::setPriority(), cancelMsg::setPriority(), eventMsg::setPriority(), PVT::startPhase(), and MeshStreamer< dtype >::storeMessage().
CkMarshallMsg* CkAllocateMarshallMsgNoninline | ( | int | size, | |
const CkEntryOptions * | opts | |||
) |
Definition at line 112 of file msgalloc.C.
References CmiMemcpy(), envelope::getGroupDepPtr(), envelope::getGroupDepSize(), envelope::getPrioBytes(), envelope::getPrioPtr(), int, PUP::m, setMemoryTypeMessage(), envelope::setQueueing(), and UsrToEnv().
Referenced by CkAllocateMarshallMsg(), and CkRegisterEp().