PPL Logo

conv-ldb/cldb.prioritycentralized.C File Reference

Go to the source code of this file.

Functions

 CpvDeclare (CldProcInfo, CldData)
 CpvDeclare (MsgHeap, CldManagerLoadQueue)
 CpvDeclare (CldSlavePriorInfo *, CldSlavesPriorityQueue)
 CpvDeclare (int, CldAskLoadHandlerIndex)
 CpvDeclare (int, CldstorecharemsgHandlerIndex)
 CpvDeclare (int, CldHigherPriorityComesHandlerIndex)
 CpvDeclare (int, CldReadytoExecHandlerIndex)
 CpvDeclare (void *, CldRequestQueue)
void LoadNotifyFn (int l)
const char * CldGetStrategy (void)
void SendTasktoPe (int receiver, void *msg)
static void CldStoreCharemsg (void *msg)
static void CldAskLoadHandler (requestmsg *msg)
static void CldBeginIdle (void *dummy)
static void CldEndIdle (void *dummy)
static void CldStillIdle (void *dummy, double curT)
void CldReadytoExec (void *msg)
void HigherPriorityWork (void *msg)
void CldEnqueue (int pe, void *msg, int infofn)
void CldHandler (char *msg)
void CldEnqueueGroup (CmiGroup grp, void *msg, int infofn)
void CldOtherInit ()
void CldModuleInit (char **argv)
void CldNodeEnqueue (int node, void *msg, int infofn)
void CldEnqueueMulti (int npes, const int *pes, void *msg, int infofn)
void CldCallback ()

Variables

char * _lbtopo
int _lbsteal = 0


Function Documentation

CpvDeclare ( CldProcInfo  ,
CldData   
)

CpvDeclare ( MsgHeap  ,
CldManagerLoadQueue   
)

CpvDeclare ( CldSlavePriorInfo ,
CldSlavesPriorityQueue   
)

CpvDeclare ( int  ,
CldAskLoadHandlerIndex   
)

CpvDeclare ( int  ,
CldstorecharemsgHandlerIndex   
)

CpvDeclare ( int  ,
CldHigherPriorityComesHandlerIndex   
)

CpvDeclare ( int  ,
CldReadytoExecHandlerIndex   
)

CpvDeclare ( void *  ,
CldRequestQueue   
)

void LoadNotifyFn ( int  l  ) 

Definition at line 34 of file cldb.prioritycentralized.C.

References CldProcInfo_s::sent.

const char* CldGetStrategy ( void   ) 

Definition at line 40 of file cldb.prioritycentralized.C.

void SendTasktoPe ( int  receiver,
void *  msg 
)

Definition at line 45 of file cldb.prioritycentralized.C.

References CldRestoreHandler(), CldSwitchHandler(), CmiMyPe(), CmiPrintf(), Converse::CmiSyncSendAndFree(), and len.

Referenced by CldAskLoadHandler(), and CldStoreCharemsg().

Here is the call graph for this function:

Here is the caller graph for this function:

static void CldStoreCharemsg ( void *  msg  )  [static]

Definition at line 76 of file cldb.prioritycentralized.C.

References CmiPrintf(), CmiTimer(), heap_addItem(), heap_isFull(), heap_size(), index, len, malloc(), priormsg_s::msg, priormsg_s::priority, and SendTasktoPe().

Referenced by CldEnqueue(), and CldModuleInit().

Here is the call graph for this function:

Here is the caller graph for this function:

static void CldAskLoadHandler ( requestmsg msg  )  [static]

static void CldBeginIdle ( void *  dummy  )  [static]

Definition at line 198 of file cldb.prioritycentralized.C.

References CmiWallTimer().

Here is the call graph for this function:

static void CldEndIdle ( void *  dummy  )  [static]

Definition at line 203 of file cldb.prioritycentralized.C.

static void CldStillIdle ( void *  dummy,
double  curT 
) [static]

void CldReadytoExec ( void *  msg  ) 

Definition at line 247 of file cldb.prioritycentralized.C.

References CldRestoreHandler(), CmiHandleMessage(), CmiMyPe(), CmiPrintf(), Converse::CmiSyncSend(), requestmsg_s::from_pe, CldProcInfo_s::load, and requestmsg_s::notidle.

Referenced by CldModuleInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void HigherPriorityWork ( void *  msg  ) 

Definition at line 266 of file cldb.prioritycentralized.C.

References CldRestoreHandler(), CldSwitchHandler(), CmiMyPe(), CmiPrintf(), CmiTimer(), len, and CldProcInfo_s::load.

Referenced by CldModuleInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CldEnqueue ( int  pe,
void *  msg,
int  infofn 
)

void CldHandler ( char *  msg  ) 

Definition at line 337 of file cldb.prioritycentralized.C.

References CldRestoreHandler(), and len.

Here is the call graph for this function:

void CldEnqueueGroup ( CmiGroup  grp,
void *  msg,
int  infofn 
)

Definition at line 348 of file cldb.prioritycentralized.C.

References CldSwitchHandler(), Converse::CmiSyncMulticastAndFree(), and len.

Here is the call graph for this function:

void CldOtherInit (  ) 

Definition at line 365 of file cldb.prioritycentralized.C.

References _lbsteal, CcdCallOnConditionKeep(), CldBeginIdle(), CldEndIdle(), CldStillIdle(), CmiAlloc(), CmiMyPe(), and CmiPrintf().

Referenced by CldModuleInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CldNodeEnqueue ( int  node,
void *  msg,
int  infofn 
)

Definition at line 431 of file cldb.prioritycentralized.C.

References CldSwitchHandler(), CrnRand(), and len.

Here is the call graph for this function:

void CldEnqueueMulti ( int  npes,
const int pes,
void *  msg,
int  infofn 
)

Definition at line 459 of file cldb.prioritycentralized.C.

References CldSwitchHandler(), Converse::CmiSyncListSendAndFree(), and len.

Here is the call graph for this function:

void CldCallback ( void   ) 

Definition at line 477 of file cldb.prioritycentralized.C.


Variable Documentation

char* _lbtopo

Definition at line 23 of file cldb.prioritycentralized.C.


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