PPL Logo

conv-core/msgmgr.C File Reference

Go to the source code of this file.

Data Structures

struct  CmmEntryStruct
struct  CmmTableStruct

Typedefs

typedef struct CmmEntryStructCmmEntry

Functions

CmmTable CmmNew (void)
void CmmFree (CmmTable t)
void CmmFreeAll (CmmTable t)
void CmmPut (CmmTable t, int ntags, int *tags, void *msg)
static int CmmTagsMatch (int ntags1, int *tags1, int ntags2, int *tags2)
void * CmmFind (CmmTable t, int ntags, int *tags, int *rtags, int del)
int CmmGetLastTag (CmmTable t, int ntags, int *tags)
int CmmEntries (CmmTable t)
CmmTable CmmPup (pup_er p, CmmTable t, CmmPupMessageFn msgpup)


Typedef Documentation

typedef struct CmmEntryStruct* CmmEntry

Definition at line 8 of file msgmgr.C.


Function Documentation

CmmTable CmmNew ( void   ) 

Definition at line 25 of file msgmgr.C.

References CmiAlloc(), CmmTableStruct::first, and CmmTableStruct::lasth.

Referenced by CmiInitCPUAffinity(), CmmPup(), CPathGetSingle(), cpuTopoHandler(), MBlockChunk::MBlockChunk(), and receiver::receiver().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmmFree ( CmmTable  t  ) 

Definition at line 33 of file msgmgr.C.

References CmiAbort(), CmiFree(), and CmmTableStruct::first.

Referenced by CmmPup(), cpuAffinityHandler(), cpuTopoHandler(), MBlockChunk::~MBlockChunk(), and receiver::~receiver().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmmFreeAll ( CmmTable  t  ) 

Definition at line 43 of file msgmgr.C.

References CmiFree(), CmmTableStruct::first, and CmmEntryStruct::next.

Here is the call graph for this function:

void CmmPut ( CmmTable  t,
int  ntags,
int tags,
void *  msg 
)

Definition at line 54 of file msgmgr.C.

References CmiAlloc(), int, CmmTableStruct::lasth, CmmEntryStruct::msg, CmmEntryStruct::next, CmmEntryStruct::ntags, and CmmEntryStruct::tags.

Referenced by CmmPup(), CPathSendHandler(), cpuAffinityHandler(), cpuTopoHandler(), receiver::irecv(), MBlockChunk::recv(), and receiver::sendTo().

Here is the call graph for this function:

Here is the caller graph for this function:

static int CmmTagsMatch ( int  ntags1,
int tags1,
int  ntags2,
int tags2 
) [static]

Definition at line 66 of file msgmgr.C.

Referenced by CmmFind(), and CmmGetLastTag().

Here is the caller graph for this function:

void* CmmFind ( CmmTable  t,
int  ntags,
int tags,
int rtags,
int  del 
)

Definition at line 83 of file msgmgr.C.

References CmiFree(), CmmTagsMatch(), CmmTableStruct::first, CmmTableStruct::lasth, CmmEntryStruct::msg, msg, CmmEntryStruct::next, CmmEntryStruct::ntags, and CmmEntryStruct::tags.

Here is the call graph for this function:

int CmmGetLastTag ( CmmTable  t,
int  ntags,
int tags 
)

Definition at line 110 of file msgmgr.C.

References CmmTagsMatch(), CmmTableStruct::first, CmmEntryStruct::next, CmmEntryStruct::ntags, and CmmEntryStruct::tags.

Here is the call graph for this function:

int CmmEntries ( CmmTable  t  ) 

Definition at line 125 of file msgmgr.C.

References CmmTableStruct::first, n, and CmmEntryStruct::next.

Referenced by CmmPup(), cpuAffinityHandler(), cpuTopoHandler(), and receiver::pupCmmTable().

Here is the caller graph for this function:

CmmTable CmmPup ( pup_er  p,
CmmTable  t,
CmmPupMessageFn  msgpup 
)

Definition at line 137 of file msgmgr.C.

References CmiFree(), CmmEntries(), CmmFree(), CmmNew(), CmmPut(), CmmTableStruct::first, free(), malloc(), msg, CmmEntryStruct::msg, CmmEntryStruct::next, CmmEntryStruct::ntags, pup_isDeleting(), pup_isUnpacking(), tags, and CmmEntryStruct::tags.

Referenced by MBlockChunk::pup().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Sep 21 08:02:28 2020 for Charm++ by  doxygen 1.5.5