PPL Logo

conv-ldb/cldb.neighbor.C File Reference

Go to the source code of this file.

Data Structures

struct  CldProcInfo_s

Typedefs

typedef struct CldProcInfo_sCldProcInfo

Functions

void gengraph (int, int, int, int *, int *)
 CpvStaticDeclare (CldProcInfo, CldData)
 CpvStaticDeclare (int, CldLoadResponseHandlerIndex)
 CpvStaticDeclare (int, CldAskLoadHandlerIndex)
 CpvStaticDeclare (int, MinLoad)
 CpvStaticDeclare (int, MinProc)
 CpvStaticDeclare (int, Mindex)
 CpvStaticDeclare (int, start)
 CpvStaticDeclare (loadmsg *, msgpool)
static loadmsggetPool (void)
static void putPool (loadmsg *msg)
void LoadNotifyFn (int l)
const char * CldGetStrategy (void)
static void CldBeginIdle (void *dummy)
static void CldEndIdle (void *dummy)
static void CldStillIdle (void *dummy, double curT)
static void CldAskLoadHandler (requestmsg *msg)
void CldSendLoad (void)
int CldMinAvg (void)
void CldBalance (void *dummy, double curT)
void CldBalancePeriod (void *dummy, double curT)
void CldLoadResponseHandler (loadmsg *msg)
void CldBalanceHandler (void *msg)
void CldHandler (void *msg)
void CldEnqueueGroup (CmiGroup grp, void *msg, int infofn)
void CldEnqueueMulti (int npes, const int *pes, void *msg, int infofn)
void CldEnqueue (int pe, void *msg, int infofn)
void CldNodeEnqueue (int node, void *msg, int infofn)
void CldReadNeighborData (void)
static void CldComputeNeighborData (void)
static void topo_callback (void)
void CldGraphModuleInit (char **argv)
void CldModuleInit (char **argv)

Variables

static int LBPeriod = PERIOD
static int overload_threshold = MAXOVERLOAD
char * _lbtopo
int _lbsteal = 0


Typedef Documentation

typedef struct CldProcInfo_s * CldProcInfo


Function Documentation

void gengraph ( int  ,
int  ,
int  ,
int ,
int  
)

Referenced by CldGraphModuleInit(), LBTopo_graph_nc< dimension >::neighbors(), and LBTopo_graph::neighbors().

Here is the caller graph for this function:

CpvStaticDeclare ( CldProcInfo  ,
CldData   
)

CpvStaticDeclare ( int  ,
CldLoadResponseHandlerIndex   
)

CpvStaticDeclare ( int  ,
CldAskLoadHandlerIndex   
)

CpvStaticDeclare ( int  ,
MinLoad   
)

CpvStaticDeclare ( int  ,
MinProc   
)

CpvStaticDeclare ( int  ,
Mindex   
)

CpvStaticDeclare ( int  ,
start   
)

CpvStaticDeclare ( loadmsg ,
msgpool   
)

static loadmsg* getPool ( void   )  [inline, static]

Definition at line 48 of file cldb.neighbor.C.

References CmiAlloc(), and msg.

Referenced by CldSendLoad().

Here is the call graph for this function:

Here is the caller graph for this function:

static void putPool ( loadmsg msg  )  [inline, static]

Definition at line 65 of file cldb.neighbor.C.

Referenced by CldLoadResponseHandler().

Here is the caller graph for this function:

void LoadNotifyFn ( int  l  ) 

Definition at line 73 of file cldb.neighbor.C.

References CldProcInfo_s::sent.

const char* CldGetStrategy ( void   ) 

Definition at line 79 of file cldb.neighbor.C.

static void CldBeginIdle ( void *  dummy  )  [static]

Definition at line 85 of file cldb.neighbor.C.

References CmiWallTimer().

Referenced by CldGraphModuleInit(), and CldOtherInit().

Here is the call graph for this function:

Here is the caller graph for this function:

static void CldEndIdle ( void *  dummy  )  [static]

Definition at line 90 of file cldb.neighbor.C.

Referenced by CldOtherInit().

Here is the caller graph for this function:

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

static void CldAskLoadHandler ( requestmsg msg  )  [static]

Definition at line 134 of file cldb.neighbor.C.

References CldCountTokens(), CldMultipleSend(), CmiDelayImmediate(), CmiFree(), CmiMyRank(), CmiTryLock(), CmiUnlock(), CmiWallTimer(), requestmsg_s::from_pe, CldProcInfo_s::idleprocEvt, rank, requestmsg_s::to_rank, and traceUserBracketEvent().

Referenced by CldGraphModuleInit(), and CldModuleInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CldSendLoad ( void   ) 

Definition at line 178 of file cldb.neighbor.C.

References CldCountTokens(), CmiMyPe(), Converse::CmiSyncMulticast(), Converse::CmiSyncSendAndFree(), getPool(), and msg.

Referenced by CldBalance().

Here is the call graph for this function:

Here is the caller graph for this function:

int CldMinAvg ( void   ) 

Definition at line 221 of file cldb.neighbor.C.

References CldCountTokens(), CldLoadRank(), CmiMyPe(), and int.

Referenced by CldBalance(), CldEnqueue(), and CldNodeEnqueue().

Here is the call graph for this function:

Here is the caller graph for this function:

void CldBalance ( void *  dummy,
double  curT 
)

Definition at line 260 of file cldb.neighbor.C.

References CldCountTokens(), CldMinAvg(), CldMultipleSend(), CldSendLoad(), CldSimpleMultipleSend(), CmiMyRank(), CmiWallTimer(), overload_threshold, startT, and traceUserBracketEvent().

Referenced by CldBalancePeriod().

Here is the call graph for this function:

Here is the caller graph for this function:

void CldBalancePeriod ( void *  dummy,
double  curT 
)

Definition at line 319 of file cldb.neighbor.C.

References CcdCallFnAfterOnPE(), CldBalance(), CmiMyPe(), and LBPeriod.

Referenced by topo_callback().

Here is the call graph for this function:

Here is the caller graph for this function:

void CldLoadResponseHandler ( loadmsg msg  ) 

Definition at line 326 of file cldb.neighbor.C.

References CmiFree(), CmiWallTimer(), index, putPool(), startT, and traceUserBracketEvent().

Referenced by CldGraphModuleInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CldBalanceHandler ( void *  msg  ) 

Definition at line 360 of file cldb.neighbor.C.

References CldPutToken(), and CldRestoreHandler().

Here is the call graph for this function:

void CldHandler ( void *  msg  ) 

Definition at line 366 of file cldb.neighbor.C.

References CldRestoreHandler(), and len.

Here is the call graph for this function:

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

Definition at line 378 of file cldb.neighbor.C.

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

Here is the call graph for this function:

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

Definition at line 394 of file cldb.neighbor.C.

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

Here is the call graph for this function:

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

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

Definition at line 475 of file cldb.neighbor.C.

References CldCountTokens(), CldMinAvg(), CldSwitchHandler(), CmiMyPe(), CmiNodeOf(), and len.

Here is the call graph for this function:

void CldReadNeighborData ( void   ) 

Definition at line 525 of file cldb.neighbor.C.

References calloc(), CmiAbort(), CmiError(), CmiEstablishGroup(), CmiMyPe(), int, and CldNeighborData_s::pe.

Referenced by CldGraphModuleInit().

Here is the call graph for this function:

Here is the caller graph for this function:

static void CldComputeNeighborData ( void   )  [static]

Definition at line 557 of file cldb.neighbor.C.

References _lbtopo, buf, calloc(), CmiAbort(), CmiEstablishGroup(), CmiMyPe(), CmiPrintf(), free(), getTopoMaxNeighbors(), getTopoNeighbors(), LBTopoLookup(), malloc(), npes, and printoutTopo().

Referenced by topo_callback().

Here is the call graph for this function:

Here is the caller graph for this function:

static void topo_callback ( void   )  [static]

Definition at line 605 of file cldb.neighbor.C.

References CldBalancePeriod(), CldComputeNeighborData(), CmiNodeBarrier(), and CmiWallTimer().

Referenced by CldGraphModuleInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CldGraphModuleInit ( char **  argv  ) 


Variable Documentation

int LBPeriod = PERIOD [static]

Definition at line 16 of file cldb.neighbor.C.

Referenced by CldBalancePeriod(), and CldGraphModuleInit().

int overload_threshold = MAXOVERLOAD [static]

Definition at line 17 of file cldb.neighbor.C.

Referenced by CldBalance(), and CldGraphModuleInit().

char* _lbtopo

Definition at line 29 of file cldb.neighbor.C.

Referenced by CldGraphModuleInit(), and CldOtherInit().


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