PPL Logo

ck-core/cklocation.C File Reference

Go to the source code of this file.

Data Structures

class  RRMap
class  arrayMapInfo
 Class used to store the dimensions of the array and precalculate numChares, binSize and other values for the DefaultArrayMap -- ASB. More...
class  DefaultArrayMap
 The default map object -- This does blocked mapping in the general case and calls the round-robin procNum for the dynamic insertion case -- ASB. More...
class  FastArrayMap
 A fast map for chare arrays which do static insertions and promise NOT to do late insertions -- ASB. More...
class  ReadFileMap
 This map can be used for topology aware mapping when the mapping is provided through a file -- ASB. More...
class  BlockMap
class  CldMap
 map object-- use seed load balancer. More...
class  ConfigurableRRMapLoader
 A class responsible for parsing the command line arguments for the PE to extract the format string passed in with +ConfigurableRRMap. More...
class  ConfigurableRRMap
class  arrInfo
struct  _speedmsg
class  PropMap
 A proportional map object-- tries to map more objects to faster processors and fewer to slower processors. More...
class  CkMapsInit
class  CkMigratable_initInfo
 This tiny class is used to convey information to the newly created CkMigratable object when its constructor is called. More...
struct  CkArrayThreadListener
class  CkLocRec_dead
 Represents a deleted array element (and prevents re-use). More...
class  CkLocRec_aging
 This is the abstract superclass of arrayRecs that keep track of their age, and eventually expire. More...
class  CkLocRec_remote
 Represents a remote array element. More...
class  CkLocRec_buffering
 Buffers messages until record is replaced in the hash table, then delivers all messages to the replacing record. More...
struct  LocalElementCounter

Typedefs

typedef struct _speedmsg speedMsg

Functions

 CpvExtern (void *, CkGridObject)
static const char * idx2str (const CkArrayMessage *m)
LDObjid idx2LDObjid (const CkArrayIndex &idx)
 CkpvDeclare (ConfigurableRRMapLoader, myConfigRRMapState)
void _initConfigurableRRMap ()
bool haveConfigurableRRMap ()
 Try to load the command line arguments for ConfigurableRRMap.
 CkpvStaticDeclare (double *, rem)
static int cmp (const void *first, const void *second)
static void _speedHdlr (void *m)
void _propMapInit (void)
CkMigratableCkArrayMessageObjectPtr (envelope *env)
 CkpvDeclare (int, CkSaveRestorePrefetch)
int CkArrayPrefetch_msg2ObjId (void *msg)
 Return the out-of-core objid (from CooRegisterObject) that this Converse message will access.
void CkArrayPrefetch_writeToSwap (FILE *swapfile, void *objptr)
 Write this object (registered with RegisterObject) to this writable file.
void CkArrayPrefetch_readFromSwap (FILE *swapfile, void *objptr)
 Read this object (registered with RegisterObject) from this readable file.
static void _CkMigratable_prefetchInit (void)
 CkpvStaticDeclare (CkMigratable_initInfo, mig_initInfo)
void _CkMigratable_initInfoInit (void)
void CkArrayThreadListener_suspend (struct CthThreadListener *l)
void CkArrayThreadListener_resume (struct CthThreadListener *l)
void CkArrayThreadListener_free (struct CthThreadListener *l)
void _CkLocMgrInit (void)
static void abort_out_of_bounds (const CkArrayIndex &idx)

Variables

bool useNodeBlkMapping
CkGroupID _defaultArrayMapID
CkGroupID _fastArrayMapID
class arrayMapInfo c
static intspeeds
CooPrefetchManager CkArrayElementPrefetcher
 This is the superclass of all migratable parallel objects.
int globalResumeCount
static const char * rec2str []


Detailed Description

Definition in file cklocation.C.


Typedef Documentation

typedef struct _speedmsg speedMsg


Function Documentation

CpvExtern ( void *  ,
CkGridObject   
)

static const char* idx2str ( const CkArrayMessage m  )  [static]

Definition at line 27 of file cklocation.C.

References idx2str().

LDObjid idx2LDObjid ( const CkArrayIndex idx  ) 

CkpvDeclare ( ConfigurableRRMapLoader  ,
myConfigRRMapState   
)

void _initConfigurableRRMap (  ) 

Definition at line 666 of file cklocation.C.

CkpvStaticDeclare ( double ,
rem   
)

static int cmp ( const void *  first,
const void *  second 
) [static]

Definition at line 752 of file cklocation.C.

Referenced by arrInfo::distrib().

static void _speedHdlr ( void *  m  )  [static]

Definition at line 826 of file cklocation.C.

References CmiFree(), CmiMyRank(), CmiNodeFirst(), CmiNodeSize(), msg, _speedmsg::node, and _speedmsg::speed.

Referenced by _propMapInit().

CkMigratable* CkArrayMessageObjectPtr ( envelope env  ) 

CkpvDeclare ( int  ,
CkSaveRestorePrefetch   
)

int CkArrayPrefetch_msg2ObjId ( void *  msg  ) 

Return the out-of-core objid (from CooRegisterObject) that this Converse message will access.

If the message will not access an object, return -1.

Definition at line 930 of file cklocation.C.

References CkArrayMessageObjectPtr(), and CkMigratable::prefetchObjID.

Referenced by _CkMigratable_prefetchInit().

void CkArrayPrefetch_writeToSwap ( FILE *  swapfile,
void *  objptr 
)

Write this object (registered with RegisterObject) to this writable file.

Definition at line 940 of file cklocation.C.

References p, CkMigratable::pup(), and CkMigratable::~CkMigratable().

Referenced by _CkMigratable_prefetchInit().

void CkArrayPrefetch_readFromSwap ( FILE *  swapfile,
void *  objptr 
)

Read this object (registered with RegisterObject) from this readable file.

Definition at line 957 of file cklocation.C.

References _chareTable, CmiTrue, CkLocRec_local::invokeEntry(), CkMigratable::myRec, p, CkMigratable::pup(), and CkMigratable::thisChareType.

Referenced by _CkMigratable_prefetchInit().

static void _CkMigratable_prefetchInit ( void   )  [static]

CkpvStaticDeclare ( CkMigratable_initInfo  ,
mig_initInfo   
)

void CkArrayThreadListener_suspend ( struct CthThreadListener l  ) 

void CkArrayThreadListener_resume ( struct CthThreadListener l  ) 

void CkArrayThreadListener_free ( struct CthThreadListener l  ) 

Definition at line 1196 of file cklocation.C.

Referenced by CkMigratable::CkAddThreadListeners().

void _CkLocMgrInit ( void   ) 

Definition at line 1994 of file cklocation.C.

References CkDisableTracing().

static void abort_out_of_bounds ( const CkArrayIndex idx  )  [static]

Definition at line 2910 of file cklocation.C.

References idx2str().

Referenced by CkLocMgr::elementRec().


Variable Documentation

Definition at line 184 of file cklocation.C.

Referenced by CkArrayOptions::setStaticInsertion().

Definition at line 185 of file cklocation.C.

Referenced by CkArrayOptions::setStaticInsertion().

class arrayMapInfo c

Referenced by simplexScheme::adapt(), CkMatrix3d::addRow(), ADIO_Init(), CollisionAggregator::aggregate(), CkViewpoint::allOffscreen(), AMPI_Cart_coords(), AMPI_Cart_create(), AMPI_Cart_get(), AMPI_Cart_rank(), AMPI_Cart_shift(), AMPI_Cart_sub(), AMPI_Graph_create(), AMPI_Graph_get(), AMPI_Graph_neighbors(), AMPI_Graph_neighbors_count(), AMPI_Graphdims_get(), arg_init(), badPointer(), BGLTorusManager::BGLTorusManager(), BGPTorusManager::BGPTorusManager(), BGQTorusManager::BGQTorusManager(), RouterStrategy::bracketedUpdatePeKnowledge(), BSearch(), splitter::buildCommLists(), PUP::toTextUtil::bytes(), PUP_fromPagedDisk::bytes(), PUP_toPagedDisk::bytes(), calcArea(), element::checkFace(), ParFUMShadowArray::ckJustMigrated(), femMeshModify::ckJustMigrated(), CkPrintChareName(), CmiPrintCLAs(), COLLIDE_Init(), threadCollideMgr::collisions(), PUP::fromTextFile::comment(), CollisionAggregator::compact(), RefinerApprox::computeA(), RefinerApprox::computeB(), simplexScheme::computeCentroidBestWorst(), splitter::consistencyCheck(), BGQTorusManager::coordinatesToRank(), Cpthread_cleanup_pop(), Cpthread_cleanup_push(), Cpthread_exit(), SequentialSolver::dequeue_multiple(), eval_sol(), refineResults::extract(), FEM_Init(), FEM_master_parallel_part(), FEM_Mesh_allocate(), FEM_Mesh_assemble(), FEM_Mesh_copy(), FEM_Mesh_split(), FEM_Sym_coordinates(), element::flip23(), element::flip23remote(), element::flip32remote(), FORTRAN_AS_C(), FORTRAN_AS_C_RETURN(), xi::fortranify(), gatherUserData(), controlPointManager::generatePlan(), TCharm::get(), FEM_chunk::get(), IDXL_Chunk::get(), BasicTable2d< unsigned char >::get(), FEMchunk::get(), getFloatFormat(), getIndexTableData(), getIntFormat(), RefinerApprox::getLargestCompute(), IDXL_Side::getMap(), CkMarshalledCLBStatsMessage::getMessage(), BGQTorusManager::getMyPhyNodeID(), RefinerApprox::getNumLargeComputes(), BasicTable2d< unsigned char >::getRow(), getTableData(), BasicTable2d< unsigned char >::getTranspose(), IDXL_Create(), IDXL_Init(), iidxsort(), iintsort(), iiqst(), ikeysort(), ikeyvalsort(), CkMemCheckPT::inmem_restore(), keyiqst(), keyvaliqst(), KillOnAllSigs(), KWayNodeRefine(), element::LEsplit(), listToMessage(), element::lockArc(), element::lockLF(), LrtsInitCpuTopo(), main(), serial_comm::matrixVectorProduct(), MBLK_Init(), Moc_GlobalMatch_Balance(), Moc_KWayAdaptiveRefine(), Moc_KWayBalance(), Moc_KWayFM(), ntohl(), CkLocMgr::numLocalElements(), ParFUM_Collide_Init(), PUP::fromTextFile::parseError(), CharismaGraph::Partition(), RefineKLB::performGreedyMoves(), print(), print_sol(), printStats(), printTet(), pupChare(), pupEntry(), pupFEM_Chunk(), pupIDXL_Chunk(), pupMain(), PUPmarshall(), pupMsg(), pupReadonly(), pupReadonlyMsg(), randInt(), BGQTorusManager::rankToCoordinates(), RefinerComm::Refine(), RefinerComm::refine(), RefinerApprox::Refine(), RefinerApprox::refine(), Refiner::Refine(), Refiner::refine(), element::refineCP(), element::refineLE(), element::refineLF(), RefinerApprox::reinitAssignment(), element::remove32element(), RefinerApprox::removeBigComputes(), RefinerApprox::removeBiggestSmallComputes(), Refiner::removeComputes(), FEM_MUtil::removeNodeAll(), renumberGhostConn(), pathHistoryManager::saveCriticalPathForPriorities(), CkMatrix3d::scaleRow(), scatterAddUserData(), scatterUserData(), CollisionAggregator::send(), splitter::separateSparse(), element::set(), chunkList::set(), BasicTable2d< unsigned char >::set(), setIndexTableData(), PUP::able::PUP_ID::setName(), BasicTable2d< unsigned char >::setRow(), setTableData(), BasicTable2d< unsigned char >::setTranspose(), SHA1_transform(), threadCollideMgr::sift(), siqst(), BCapplier::solve(), FEM_MUtil::splitEntityAll(), element::splitLF(), ampi::splitPhase1(), splitter::splitter(), testEndian(), parallelTransfer_c::transfer(), parallelSurfaceTransfer_c::transfer(), element::unlockArc1(), element::unlockArc2(), and splitter::~splitter().

int* speeds [static]

Definition at line 816 of file cklocation.C.

Definition at line 224 of file ckcausalmlog.C.

const char* rec2str[] [static]

Initial value:

{
    "base (INVALID)",
    "local",
    "remote",
    "buffering",
    "dead"
}

Definition at line 2868 of file cklocation.C.


Generated on Thu May 24 07:56:00 2012 for Charm++ by  doxygen 1.5.5