PPL Logo

conv-core/cpm.c File Reference

Go to the source code of this file.

Data Structures

struct  CpmDestinationSend
struct  CpmDestinationEnq
struct  CpmDestinationThreadSize

Typedefs

typedef struct CpmDestinationSend DestinationSend
typedef struct CpmDestinationEnq DestinationEnq
typedef struct
CpmDestinationThreadSize 
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 ()


Typedef Documentation

Definition at line 27 of file cpm.c.

Definition at line 59 of file cpm.c.

Definition at line 264 of file cpm.c.


Function Documentation

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

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

Definition at line 29 of file cpm.c.

References CpmLSend(), and CpmDestinationSend::pe.

Referenced by CpmSend().

CpvStaticDeclare ( DestinationSend  ,
ctrlSend   
)

CpmDestination CpmSend ( int  pe  ) 

Definition at line 36 of file cpm.c.

References CpmSend1(), and CpmDestinationStruct::envsize.

CpvStaticDeclare ( DestinationEnq  ,
ctrlEnq   
)

CpvDeclare ( int  ,
CpmEnqueue2_Index   
)

void CpmEnqueue2 ( void *  msg  ) 

Definition at line 65 of file cpm.c.

Referenced by CpmModuleInit().

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 
)

Definition at line 101 of file cpm.c.

References CpmEnqueue().

CpvStaticDeclare ( unsigned  int,
liprio   
)

CpmDestination CpmEnqueueILIFO ( int  pe,
int  prio 
)

Definition at line 109 of file cpm.c.

References CpmEnqueue().

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

Definition at line 115 of file cpm.c.

References CpmEnqueue().

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

Definition at line 120 of file cpm.c.

References CpmEnqueue().

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

Definition at line 125 of file cpm.c.

References CpmEnqueue().

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

Definition at line 130 of file cpm.c.

References CpmEnqueue().

CpvDeclare ( int  ,
CpmEnqueueFIFO2_Index   
)

void CpmEnqueueFIFO2 ( void *  msg  ) 

Definition at line 143 of file cpm.c.

Referenced by CpmModuleInit().

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

Definition at line 151 of file cpm.c.

References CpmLSend(), and CpmDestinationSend::pe.

Referenced by CpmEnqueueFIFO().

CpvStaticDeclare ( DestinationSend  ,
ctrlFIFO   
)

CpmDestination CpmEnqueueFIFO ( int  pe  ) 

Definition at line 162 of file cpm.c.

References CpmEnqueueFIFO1(), and CpmDestinationStruct::envsize.

CpvDeclare ( int  ,
CpmEnqueueLIFO2_Index   
)

void CpmEnqueueLIFO2 ( void *  msg  ) 

Definition at line 178 of file cpm.c.

Referenced by CpmModuleInit().

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

Definition at line 186 of file cpm.c.

References CpmLSend(), and CpmDestinationSend::pe.

Referenced by CpmEnqueueLIFO().

CpvStaticDeclare ( DestinationSend  ,
ctrlLIFO   
)

CpmDestination CpmEnqueueLIFO ( int  pe  ) 

Definition at line 197 of file cpm.c.

References CpmEnqueueLIFO1(), and CpmDestinationStruct::envsize.

CpvDeclare ( int  ,
CpmThread2_Index   
)

void CpmThread3 ( void *  msg  ) 

Definition at line 213 of file cpm.c.

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

Referenced by CpmThread2(), and CpmThreadSize2().

void CpmThread2 ( void *  msg  ) 

Definition at line 222 of file cpm.c.

References CpmThread3(), CthAwaken(), CthCreate(), and CthSetStrategyDefault().

Referenced by CpmModuleInit().

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

Definition at line 229 of file cpm.c.

References CpmLSend(), and CpmDestinationSend::pe.

Referenced by CpmMakeThread().

CpvStaticDeclare ( DestinationSend  ,
ctrlThread   
)

CpmDestination CpmMakeThread ( int  pe  ) 

Definition at line 239 of file cpm.c.

References CpmThread1(), and CpmDestinationStruct::envsize.

CpvDeclare ( int  ,
CpmThreadSize2_Index   
)

void CpmThreadSize2 ( void *  msg  ) 

Definition at line 266 of file cpm.c.

References CpmThread3(), CthAwaken(), CthCreate(), and CthSetStrategyDefault().

Referenced by CpmModuleInit().

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

Definition at line 274 of file cpm.c.

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

Referenced by CpmMakeThreadSize().

CpvStaticDeclare ( DestinationThreadSize  ,
ctrlThreadSize   
)

CpmDestination CpmMakeThreadSize ( int  pe,
int  size 
)

Definition at line 285 of file cpm.c.

References CpmThreadSize1(), and CpmDestinationStruct::envsize.

void CpmModuleInit (  ) 


Generated on Fri May 25 08:00:44 2012 for Charm++ by  doxygen 1.5.5