PPL Logo

ck-core/msgalloc.C File Reference

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)
CkMarshallMsgCkAllocateMarshallMsgNoninline (int size, const CkEntryOptions *opts)


Function Documentation

CkpvDeclare ( size_t ,
_offsets   
)

void* CkAllocSysMsg ( const CkEntryOptions *  opts  ) 

void CkFreeSysMsg ( void *  m  ) 

Definition at line 30 of file msgalloc.C.

Referenced by ArrayElemExt::__AtSyncEntryMethod(), CkPupChareData(), and migrationDone().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

void* CkAllocBuffer ( void *  msg,
int  bufsize 
)

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().

Here is the call graph for this function:

void* CkCopyMsg ( void **  pMsg  ) 

void CkSetQueueing ( void *  msg,
int  strategy 
)

void* CkPriorityPtr ( void *  msg  ) 

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().

Here is the call graph for this function:

Here is the caller graph for this function:


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