PPL Logo

conv-core/cpm.C File Reference

Go to the source code of this file.

Data Structures

struct  CpmDestinationSend_s
struct  CpmDestinationEnq_s
struct  CpmDestinationThreadSize_s

Typedefs

typedef struct
CpmDestinationSend_s
CpmDestinationSend
typedef struct CpmDestinationSend_s DestinationSend
typedef struct
CpmDestinationEnq_s
CpmDestinationEnq
typedef struct CpmDestinationEnq_s DestinationEnq
typedef struct
CpmDestinationThreadSize_s
CpmDestinationThreadSize
typedef struct
CpmDestinationThreadSize_s 
DestinationThreadSize

Functions

static void CpmLSend (int pe, int len, void *msg)
void * CpmSend1 (CpmDestinationSend ctrl, int len, void *msg)
 CpvStaticDeclare (DestinationSend, ctrlSend)
CpmDestination CpmSend (int pe)
 CpvStaticDeclare (DestinationEnq, ctrlEnq)
 CpvDeclare (int, CpmEnqueue2_Index)
void CpmEnqueue2 (void *msg)
void * CpmEnqueue1 (CpmDestinationEnq ctrl, int len, void *msg)
CpmDestination CpmEnqueue (int pe, int qs, int priobits, unsigned int *prioptr)
 CpvStaticDeclare (unsigned int, fiprio)
CpmDestination CpmEnqueueIFIFO (int pe, int prio)
 CpvStaticDeclare (unsigned int, liprio)
CpmDestination CpmEnqueueILIFO (int pe, int prio)
CpmDestination CpmEnqueueBFIFO (int pe, int priobits, unsigned int *prioptr)
CpmDestination CpmEnqueueBLIFO (int pe, int priobits, unsigned int *prioptr)
CpmDestination CpmEnqueueLFIFO (int pe, int priobits, unsigned int *prioptr)
CpmDestination CpmEnqueueLLIFO (int pe, int priobits, unsigned int *prioptr)
 CpvDeclare (int, CpmEnqueueFIFO2_Index)
void CpmEnqueueFIFO2 (void *msg)
void * CpmEnqueueFIFO1 (CpmDestinationSend ctrl, int len, void *msg)
 CpvStaticDeclare (DestinationSend, ctrlFIFO)
CpmDestination CpmEnqueueFIFO (int pe)
 CpvDeclare (int, CpmEnqueueLIFO2_Index)
void CpmEnqueueLIFO2 (void *msg)
void * CpmEnqueueLIFO1 (CpmDestinationSend ctrl, int len, void *msg)
 CpvStaticDeclare (DestinationSend, ctrlLIFO)
CpmDestination CpmEnqueueLIFO (int pe)
 CpvDeclare (int, CpmThread2_Index)
void CpmThread3 (void *msg)
void CpmThread2 (void *msg)
void * CpmThread1 (CpmDestinationSend ctrl, int len, void *msg)
 CpvStaticDeclare (DestinationSend, ctrlThread)
CpmDestination CpmMakeThread (int pe)
 CpvDeclare (int, CpmThreadSize2_Index)
void CpmThreadSize2 (void *msg)
void * CpmThreadSize1 (CpmDestinationThreadSize ctrl, int len, void *msg)
 CpvStaticDeclare (DestinationThreadSize, ctrlThreadSize)
CpmDestination CpmMakeThreadSize (int pe, int size)
void CpmModuleInit (void)


Typedef Documentation

Definition at line 27 of file cpm.C.

Definition at line 60 of file cpm.C.

Definition at line 265 of file cpm.C.


Function Documentation

static void CpmLSend ( int  pe,
int  len,
void *  msg 
) [static]

Definition at line 6 of file cpm.C.

References Converse::CmiSyncBroadcastAllAndFree(), Converse::CmiSyncBroadcastAndFree(), and Converse::CmiSyncSendAndFree().

Referenced by CpmEnqueue1(), CpmEnqueueFIFO1(), CpmEnqueueLIFO1(), CpmSend1(), CpmThread1(), and CpmThreadSize1().

Here is the call graph for this function:

Here is the caller graph for this function:

void* CpmSend1 ( CpmDestinationSend  ctrl,
int  len,
void *  msg 
)

Definition at line 29 of file cpm.C.

References CpmLSend(), and CpmDestinationSend_s::pe.

Referenced by CpmSend().

Here is the call graph for this function:

Here is the caller graph for this function:

CpvStaticDeclare ( DestinationSend  ,
ctrlSend   
)

CpmDestination CpmSend ( int  pe  ) 

Definition at line 37 of file cpm.C.

References CpmSend1(), and CpmDestinationStruct::envsize.

Here is the call graph for this function:

CpvStaticDeclare ( DestinationEnq  ,
ctrlEnq   
)

CpvDeclare ( int  ,
CpmEnqueue2_Index   
)

void CpmEnqueue2 ( void *  msg  ) 

Definition at line 66 of file cpm.C.

Referenced by CpmModuleInit().

Here is the caller graph for this function:

void* CpmEnqueue1 ( CpmDestinationEnq  ctrl,
int  len,
void *  msg 
)

Definition at line 74 of file cpm.C.

References CpmLSend(), int, CpmDestinationEnq_s::pe, CpmDestinationEnq_s::priobits, CpmDestinationEnq_s::prioptr, and CpmDestinationEnq_s::qs.

Referenced by CpmEnqueue().

Here is the call graph for this function:

Here is the caller graph for this function:

CpmDestination CpmEnqueue ( int  pe,
int  qs,
int  priobits,
unsigned int prioptr 
)

Definition at line 89 of file cpm.C.

References CpmEnqueue1(), CpmDestinationStruct::envsize, and int.

Referenced by CpmEnqueueBFIFO(), CpmEnqueueBLIFO(), CpmEnqueueIFIFO(), CpmEnqueueILIFO(), CpmEnqueueLFIFO(), and CpmEnqueueLLIFO().

Here is the call graph for this function:

Here is the caller graph for this function:

CpvStaticDeclare ( unsigned  int,
fiprio   
)

CpmDestination CpmEnqueueIFIFO ( int  pe,
int  prio 
)

Definition at line 102 of file cpm.C.

References CpmEnqueue().

Here is the call graph for this function:

CpvStaticDeclare ( unsigned  int,
liprio   
)

CpmDestination CpmEnqueueILIFO ( int  pe,
int  prio 
)

Definition at line 110 of file cpm.C.

References CpmEnqueue().

Here is the call graph for this function:

CpmDestination CpmEnqueueBFIFO ( int  pe,
int  priobits,
unsigned int prioptr 
)

Definition at line 116 of file cpm.C.

References CpmEnqueue().

Here is the call graph for this function:

CpmDestination CpmEnqueueBLIFO ( int  pe,
int  priobits,
unsigned int prioptr 
)

Definition at line 121 of file cpm.C.

References CpmEnqueue().

Here is the call graph for this function:

CpmDestination CpmEnqueueLFIFO ( int  pe,
int  priobits,
unsigned int prioptr 
)

Definition at line 126 of file cpm.C.

References CpmEnqueue().

Here is the call graph for this function:

CpmDestination CpmEnqueueLLIFO ( int  pe,
int  priobits,
unsigned int prioptr 
)

Definition at line 131 of file cpm.C.

References CpmEnqueue().

Here is the call graph for this function:

CpvDeclare ( int  ,
CpmEnqueueFIFO2_Index   
)

void CpmEnqueueFIFO2 ( void *  msg  ) 

Definition at line 144 of file cpm.C.

Referenced by CpmModuleInit().

Here is the caller graph for this function:

void* CpmEnqueueFIFO1 ( CpmDestinationSend  ctrl,
int  len,
void *  msg 
)

Definition at line 152 of file cpm.C.

References CpmLSend(), and CpmDestinationSend_s::pe.

Referenced by CpmEnqueueFIFO().

Here is the call graph for this function:

Here is the caller graph for this function:

CpvStaticDeclare ( DestinationSend  ,
ctrlFIFO   
)

CpmDestination CpmEnqueueFIFO ( int  pe  ) 

Definition at line 163 of file cpm.C.

References CpmEnqueueFIFO1(), CpmDestinationStruct::envsize, and int.

Here is the call graph for this function:

CpvDeclare ( int  ,
CpmEnqueueLIFO2_Index   
)

void CpmEnqueueLIFO2 ( void *  msg  ) 

Definition at line 179 of file cpm.C.

Referenced by CpmModuleInit().

Here is the caller graph for this function:

void* CpmEnqueueLIFO1 ( CpmDestinationSend  ctrl,
int  len,
void *  msg 
)

Definition at line 187 of file cpm.C.

References CpmLSend(), and CpmDestinationSend_s::pe.

Referenced by CpmEnqueueLIFO().

Here is the call graph for this function:

Here is the caller graph for this function:

CpvStaticDeclare ( DestinationSend  ,
ctrlLIFO   
)

CpmDestination CpmEnqueueLIFO ( int  pe  ) 

Definition at line 198 of file cpm.C.

References CpmEnqueueLIFO1(), CpmDestinationStruct::envsize, and int.

Here is the call graph for this function:

CpvDeclare ( int  ,
CpmThread2_Index   
)

void CpmThread3 ( void *  msg  ) 

Definition at line 214 of file cpm.C.

References CthFree(), CthSelf(), CthSuspend(), h, CmiHandlerInfo::hdlr, and CmiHandlerInfo::userPtr.

Referenced by CpmThread2(), and CpmThreadSize2().

Here is the call graph for this function:

Here is the caller graph for this function:

void CpmThread2 ( void *  msg  ) 

Definition at line 222 of file cpm.C.

References CpmThread3(), CthAwaken(), CthCreate(), CthSetStrategyDefault(), and PUP::t.

Referenced by CpmModuleInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void* CpmThread1 ( CpmDestinationSend  ctrl,
int  len,
void *  msg 
)

Definition at line 229 of file cpm.C.

References CpmLSend(), and CpmDestinationSend_s::pe.

Referenced by CpmMakeThread().

Here is the call graph for this function:

Here is the caller graph for this function:

CpvStaticDeclare ( DestinationSend  ,
ctrlThread   
)

CpmDestination CpmMakeThread ( int  pe  ) 

Definition at line 240 of file cpm.C.

References CpmThread1(), CpmDestinationStruct::envsize, and int.

Here is the call graph for this function:

CpvDeclare ( int  ,
CpmThreadSize2_Index   
)

void CpmThreadSize2 ( void *  msg  ) 

Definition at line 267 of file cpm.C.

References CpmThread3(), CthAwaken(), CthCreate(), CthSetStrategyDefault(), and PUP::t.

Referenced by CpmModuleInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void* CpmThreadSize1 ( CpmDestinationThreadSize  ctrl,
int  len,
void *  msg 
)

Definition at line 275 of file cpm.C.

References CpmLSend(), CpmDestinationThreadSize_s::pe, and CpmDestinationThreadSize_s::size.

Referenced by CpmMakeThreadSize().

Here is the call graph for this function:

Here is the caller graph for this function:

CpvStaticDeclare ( DestinationThreadSize  ,
ctrlThreadSize   
)

CpmDestination CpmMakeThreadSize ( int  pe,
int  size 
)

Definition at line 287 of file cpm.C.

References CpmThreadSize1(), CpmDestinationStruct::envsize, and int.

Here is the call graph for this function:

void CpmModuleInit ( void   ) 

Definition at line 302 of file cpm.C.

References CmiRegisterHandler(), CpmEnqueue2(), CpmEnqueueFIFO2(), CpmEnqueueLIFO2(), CpmThread2(), and CpmThreadSize2().

Here is the call graph for this function:


Generated on Mon Sep 21 08:01:17 2020 for Charm++ by  doxygen 1.5.5