Go to the source code of this file.
Data Structures | |
| struct | CmiHandlerInfo |
| struct | CmiChunkHeader |
| This header goes before each chunk of memory allocated with CmiAlloc. More... | |
| struct | infiCmiChunkHeaderStruct |
| struct | CsdSchedulerState_t |
| struct | CmiReduction |
| struct | CmiIsomallocBlockList |
| struct | CthThreadToken |
| struct | CthThreadListener |
| struct | Cfuture_s |
| struct | _CmiObjId |
Typedefs | |
| typedef bool | CmiBool |
| typedef int | CmiNodeLock |
| typedef pthread_mutex_t * | CmiNodeLock |
| typedef cps_mutex_t * | CmiNodeLock |
| typedef int * | CmiNodeLock |
| typedef pthread_mutex_t * | CmiNodeLock |
| typedef HANDLE | CmiNodeLock |
| typedef int | CmiImmediateLockType |
| typedef CmiNodeLock | CmiImmediateLockType |
| typedef CMK_TYPEDEF_INT2 | CmiInt2 |
| typedef CMK_TYPEDEF_INT4 | CmiInt4 |
| typedef CMK_TYPEDEF_INT8 | CmiInt8 |
| typedef CMK_TYPEDEF_UINT2 | CmiUInt2 |
| typedef CMK_TYPEDEF_UINT4 | CmiUInt4 |
| typedef CMK_TYPEDEF_UINT8 | CmiUInt8 |
| typedef CMK_TYPEDEF_FLOAT4 | CmiFloat4 |
| typedef CMK_TYPEDEF_FLOAT8 | CmiFloat8 |
| typedef void * | CmiCommHandle |
| typedef void(*) | CmiHandler (void *msg) |
| typedef void(*) | CmiHandlerEx (void *msg, void *userPtr) |
| typedef CMK_MSG_HEADER_BASIC | CmiMsgHeaderBasic |
| typedef CMK_MSG_HEADER_EXT | CmiMsgHeaderExt |
| typedef CMK_MSG_HEADER_BLUEGENE | CmiBlueGeneMsgHeader |
| typedef infiCmiChunkHeaderStruct | infiCmiChunkHeader |
| typedef void(*) | CmiStartFn (int argc, char **argv) |
| typedef CMK_MULTICAST_GROUP_TYPE | CmiGroup |
| typedef CmiIsomallocBlockList | CmiIsomallocBlockList |
| typedef CthThreadStruct * | CthThread |
| typedef void(*) | CthVoidFn () |
| typedef void(*) | CthAwkFn (CthThreadToken *, int, int prioBits, unsigned int *prioptr) |
| typedef CthThread(*) | CthThFn () |
| typedef CtgGlobalStruct * | CtgGlobals |
| typedef void(*) | CthThreadListener_suspend (struct CthThreadListener *l) |
| typedef void(*) | CthThreadListener_resume (struct CthThreadListener *l) |
| typedef void(*) | CthThreadListener_free (struct CthThreadListener *l) |
| typedef Cfuture_s | Cfuture |
| typedef void(*) | CldPackFn (void *msg) |
| typedef void(*) | CldInfoFn (void *msg, CldPackFn *packer, int *len, int *queueing, int *priobits, unsigned int **prioptr) |
| typedef int(*) | CldEstimator (void) |
| typedef CmmTableStruct * | CmmTable |
| typedef void(*) | CmmPupMessageFn (pup_er p, void **msg) |
| typedef void(*) | CcdVoidFn (void *userParam, double curWallTime) |
| typedef int(*) | CmiSwitchToPEFnPtr (int pe) |
| typedef _CmiObjId | CmiObjId |
Enumerations | |
| enum | CmiBool { CmiFalse = 0, CmiTrue = 1 } |
| enum | bool { false = 0, true = 1, false = 0, true = 1 } |
Functions | |
| int | setMemoryChareIDFromPtr (void *p) |
| void | setMemoryChareID (int id) |
| void | CmiMemLock () |
| void | CmiMemUnlock () |
| int | CmiMyPe () |
| int | CmiMyRank () |
| int | CmiNodeFirst (int node) |
| int | CmiNodeSize (int node) |
| int | CmiNodeOf (int pe) |
| int | CmiRankOf (int pe) |
| void | CmiNodeBarrier (void) |
| void | CmiNodeAllBarrier (void) |
| CmiNodeLock | CmiCreateLock () |
| void | CmiDestroyLock (CmiNodeLock lock) |
| void * | CmiSvAlloc (int) |
| void | CmiLock (CmiNodeLock lock) |
| void | CmiUnlock (CmiNodeLock lock) |
| int | CmiTryLock (CmiNodeLock lock) |
| int | CmiBarrier (void) |
| int | CmiBarrierZero (void) |
| int | CmiLongSendQueue (int forNode, int longerThanBytes) |
| Return 1 if our outgoing message queue for this node is longer than this many bytes. | |
| CpvExtern (CmiHandlerInfo *, CmiHandlerTable) | |
| CpvExtern (int, CmiHandlerMax) | |
| CpvExtern (void *, CsdSchedQueue) | |
| CpvExtern (void *, CsdGridQueue) | |
| CpvExtern (void *, CsdObjQueue) | |
| CsvExtern (void *, CsdNodeQueue) | |
| CsvExtern (CmiNodeLock, CsdNodeQueueLock) | |
| CpvExtern (int, CsdStopFlag) | |
| CpvExtern (int, CsdLocalCount) | |
| int | CmiRegisterHandler (CmiHandler h) |
| int | CmiRegisterHandlerEx (CmiHandlerEx h, void *userPtr) |
| int | CmiRegisterHandlerLocal (CmiHandler) |
| int | CmiRegisterHandlerGlobal (CmiHandler) |
| void | CmiNumberHandler (int n, CmiHandler h) |
| void | CmiNumberHandlerEx (int n, CmiHandlerEx h, void *userPtr) |
| infiCmiChunkMetaDataStruct * | registerMultiSendMesg (char *msg, int msgSize) |
| void * | malloc_nomigrate (size_t size) |
| void * | CmiAlloc (int size) |
| void | CmiReference (void *blk) |
| Increment the reference count for this block's owner. | |
| int | CmiSize (void *blk) |
| Return the size of the user portion of this block. | |
| void | CmiFree (void *blk) |
| Decrement the reference count for this block. | |
| void * | CmiTmpAlloc (int size) |
| void | CmiTmpFree (void *) |
| void | CmiMemoryCheck (void) |
| void | CmiMemoryMark (void) |
| void | CmiMemoryMarkBlock (void *blk) |
| void | CmiMemorySweep (const char *where) |
| CMK_TYPEDEF_UINT8 | CmiMemoryUsage () |
| CMK_TYPEDEF_UINT8 | CmiMaxMemoryUsage () |
| void | CmiResetMaxMemory () |
| CMK_TYPEDEF_UINT8 | CmiMinMemoryUsage () |
| void | CmiResetMinMemory () |
| int | CmiMemoryIs (int flag) |
| int | CmiThreadIs (int flag) |
| void | CmiMkdir (const char *dirName) |
| double | CmiCpuTimer (void) |
| static __inline__ unsigned long long int | rdtsc (void) |
| double | CmiStartTimer (void) |
| void | CmiTimerInit () |
| double | CmiTimer (void) |
| double | CmiWallTimer (void) |
| int | CmiTimerIsSynchronized () |
| void | CmiPrintf (const char *,...) |
| void | CmiError (const char *,...) |
| int | CmiScanf (const char *,...) |
| void | __cmi_assert (const char *, const char *, int) |
| CpvExtern (int, _ccd_numchecks) | |
| void | CcdCallBacks () |
| void | CsdEndIdle (void) |
| void | CsdStillIdle (void) |
| void | CsdBeginIdle (void) |
| void | CsdSchedulerState_new (CsdSchedulerState_t *state) |
| void * | CsdNextMessage (CsdSchedulerState_t *state) |
| void * | CmiGetNonLocal (void) |
| void | CmiNotifyIdle (void) |
| int | CsdScheduler (int maxmsgs) |
| void | CsdScheduleForever (void) |
| int | CsdScheduleCount (int maxmsgs) |
| void | CsdSchedulePoll (void) |
| int | CmiNumSpanTreeChildren (int) |
| int | CmiSpanTreeParent (int) |
| void | CmiSpanTreeChildren (int node, int *children) |
| int | CmiNumNodeSpanTreeChildren (int) |
| int | CmiNodeSpanTreeParent (int) |
| void | CmiNodeSpanTreeChildren (int node, int *children) |
| void | CmiGroupInit () |
| CmiGroup | CmiEstablishGroup (int npes, int *pes) |
| void | CmiLookupGroup (CmiGroup grp, int *npes, int **pes) |
| void | CmiSyncSendFn (int, int, char *) |
| CmiCommHandle | CmiAsyncSendFn (int, int, char *) |
| void | CmiFreeSendFn (int, int, char *) |
| void | CmiSyncBroadcastFn (int, char *) |
| CmiCommHandle | CmiAsyncBroadcastFn (int, char *) |
| void | CmiFreeBroadcastFn (int, char *) |
| void | CmiSyncBroadcastAllFn (int, char *) |
| CmiCommHandle | CmiAsyncBroadcastAllFn (int, char *) |
| void | CmiFreeBroadcastAllFn (int, char *) |
| void | CmiSyncListSendFn (int, int *, int, char *) |
| CmiCommHandle | CmiAsyncListSendFn (int, int *, int, char *) |
| void | CmiFreeListSendFn (int, int *, int, char *) |
| void | CmiSyncMulticastFn (CmiGroup, int, char *) |
| CmiCommHandle | CmiAsyncMulticastFn (CmiGroup, int, char *) |
| void | CmiFreeMulticastFn (CmiGroup, int, char *) |
| void | CmiReduce (void *msg, int size, void *(*mergeFn)(void *, void **, int)) |
| void | CmiReduceStruct (void *data, void(*pupFn)(void *, void *), void *(*mergeFn)(void *, void **, int), CmiHandler dest, void(*deleteFn)(void *)) |
| void | CmiNodeReduce (void *msg, int size, void *(*mergeFn)(void *, void **, int), int, int, int) |
| void | CmiNodeReduceStruct (void *data, void(*pupFn)(void *, void *), void *(*mergeFn)(void *, void **, int), CmiHandler dest, void(*deleteFn)(void *)) |
| void | CmiHandleReductionMessage (void *msg) |
| int | CmiGetReductionHandler () |
| CmiHandler | CmiGetReductionDestination () |
| void | CmiSyncVectorSend (int, int, int *, char **) |
| CmiCommHandle | CmiAsyncVectorSend (int, int, int *, char **) |
| void | CmiSyncVectorSendAndFree (int, int, int *, char **) |
| void | CmiMultipleSend (unsigned int, int, int *, char **) |
| void | CmiMultipleIsend (unsigned int, int, int *, char **) |
| int | CmiAsyncMsgSent (CmiCommHandle) |
| void | CmiReleaseCommHandle (CmiCommHandle) |
| void | CmiSyncNodeSendFn (int, int, char *) |
| CmiCommHandle | CmiAsyncNodeSendFn (int, int, char *) |
| void | CmiFreeNodeSendFn (int, int, char *) |
| void | CmiSyncNodeBroadcastFn (int, char *) |
| CmiCommHandle | CmiAsyncNodeBroadcastFn (int, char *) |
| void | CmiFreeNodeBroadcastFn (int, char *) |
| void | CmiSyncNodeBroadcastAllFn (int, char *) |
| CmiCommHandle | CmiAsyncNodeBroadcastAllFn (int, char *) |
| void | CmiFreeNodeBroadcastAllFn (int, char *) |
| void | CmiDeliversInit () |
| int | CmiDeliverMsgs (int maxmsgs) |
| void | CmiDeliverSpecificMsg (int handler) |
| void | CmiHandleMessage (void *msg) |
| void * | CmiIsomalloc (int sizeInBytes) |
| void | CmiIsomallocPup (pup_er p, void **block) |
| void | CmiIsomallocFree (void *block) |
| CmiInt8 | CmiIsomallocLength (void *block) |
| int | CmiIsomallocInRange (void *addr) |
| CmiIsomallocBlockList * | CmiIsomallocBlockListNew (void) |
| void | CmiIsomallocBlockListPup (pup_er p, CmiIsomallocBlockList **l) |
| void | CmiIsomallocBlockListDelete (CmiIsomallocBlockList *l) |
| void * | CmiIsomallocBlockListMalloc (CmiIsomallocBlockList *l, int nBytes) |
| void | CmiIsomallocBlockListFree (void *doomedMallocedBlock) |
| CthThreadToken * | CthGetToken (CthThread) |
| int | CthImplemented (void) |
| CthThread | CthPup (pup_er, CthThread) |
| CthThread | CthSelf (void) |
| CthThread | CthCreate (CthVoidFn, void *, int) |
| CthThread | CthCreateMigratable (CthVoidFn, void *, int) |
| void | CthResume (CthThread) |
| void | CthFree (CthThread) |
| void | CthSetSuspendable (CthThread, int) |
| int | CthIsSuspendable (CthThread) |
| void | CthSuspend (void) |
| void | CthAwaken (CthThread) |
| void | CthAwakenPrio (CthThread, int, int, unsigned int *) |
| void | CthSetStrategy (CthThread, CthAwkFn, CthThFn) |
| void | CthSetStrategyDefault (CthThread) |
| void | CthYield (void) |
| void | CthYieldPrio (int, int, unsigned int *) |
| void | CthSetNext (CthThread t, CthThread next) |
| CthThread | CthGetNext (CthThread t) |
| void | CthSwitchThread (CthThread t) |
| switch the thread to t | |
| size_t | CthStackOffset (CthThread t, char *p) |
| char * | CthPointer (CthThread t, size_t pos) |
| void | CthAutoYield (CthThread t, int flag) |
| double | CthAutoYieldFreq (CthThread t) |
| void | CthAutoYieldBlock (void) |
| void | CthAutoYieldUnblock (void) |
| void | CtgInit (void) |
| Initialize the globals support (called on each processor). | |
| CpvExtern (int, CmiPICMethod) | |
| PIC method used: 0 = nop, 1 = elfgot, 2 = elfcopy. | |
| CtgGlobals | CtgCreate (void) |
| Copy the current globals into this new set. | |
| void | CtgInstall (CtgGlobals g) |
| Install this set of globals. | |
| CtgGlobals | CtgPup (pup_er, CtgGlobals g) |
| PUP this (not currently installed) globals set. | |
| void | CtgFree (CtgGlobals g) |
| Delete this (not currently installed) set of globals. | |
| CtgGlobals | CtgCurrentGlobals (void) |
| Return the current global list. | |
| void | CtgInstall_var (CtgGlobals g, void *ptr) |
| void | CtgUninstall_var (CtgGlobals g, void *ptr) |
| void | CthAddListener (CthThread th, struct CthThreadListener *l) |
| This listener is about to begin receiving suspend and resume events for this thread. | |
| void | CthUserAddListeners (CthThread th) |
| This is function is inserted into .def.h after thread creation. | |
| CthCpvExtern (char *, CthData) | |
| int | CthRegister (int dataSize) |
| Allocate another size bytes of thread-local storage, and return the offset into the thread storage buffer. | |
| void | CthRegistered (int dataOffMax) |
| Make sure we have room to store up to at least maxOffset bytes of thread-local storage. | |
| char * | CthGetData (CthThread t) |
| Cfuture | CfutureCreate (void) |
| void | CfutureSet (Cfuture f, void *val, int len) |
| void * | CfutureWait (Cfuture f) |
| void | CfutureDestroy (Cfuture f) |
| void * | CfutureCreateBuffer (int bytes) |
| void | CfutureDestroyBuffer (void *val) |
| void | CfutureStoreBuffer (Cfuture f, void *value) |
| void | CfutureInit () |
| int | CldRegisterInfoFn (CldInfoFn fn) |
| int | CldRegisterPackFn (CldPackFn fn) |
| void | CldRegisterEstimator (CldEstimator fn) |
| int | CldEstimate (void) |
| char * | CldGetStrategy (void) |
| void | CldEnqueue (int pe, void *msg, int infofn) |
| void | CldEnqueueMulti (int npes, int *pes, void *msg, int infofn) |
| void | CldNodeEnqueue (int node, void *msg, int infofn) |
| CmmTable | CmmPup (pup_er p, CmmTable t, CmmPupMessageFn msgpup) |
| CmmTable | CmmNew () |
| void | CmmFree (CmmTable t) |
| void | CmmPut (CmmTable t, int ntags, int *tags, void *msg) |
| void * | CmmFind (CmmTable t, int ntags, int *tags, int *returntags, int del) |
| int | CmmEntries (CmmTable t) |
| int | CmmGetLastTag (CmmTable t, int ntags, int *tags) |
| void | ConverseInit (int, char **, CmiStartFn, int, int) |
| void | ConverseExit (void) |
| void | CmiAbort (const char *) |
| Serial version of common Charm++ routines:. | |
| void | CmiOutOfMemory (int nBytes) |
| void | CcdCallFnAfter (CcdVoidFn fnp, void *arg, double msecs) |
| int | CcdCallOnCondition (int condnum, CcdVoidFn fnp, void *arg) |
| int | CcdCallOnConditionKeep (int condnum, CcdVoidFn fnp, void *arg) |
| void | CcdCallFnAfterOnPE (CcdVoidFn fnp, void *arg, double msecs, int pe) |
| int | CcdCallOnConditionOnPE (int condnum, CcdVoidFn fnp, void *arg, int pe) |
| int | CcdCallOnConditionKeepOnPE (int condnum, CcdVoidFn fnp, void *arg, int pe) |
| void | CcdCancelCallOnCondition (int condnum, int idx) |
| void | CcdCancelCallOnConditionKeep (int condnum, int idx) |
| void | CcdRaiseCondition (int condnum) |
| void | CmiArgGroup (const char *parentName, const char *groupName) |
| int | CmiGetArgInt (char **argv, const char *arg, int *optDest) |
| int | CmiGetArgIntDesc (char **argv, const char *arg, int *optDest, const char *desc) |
| int | CmiGetArgDouble (char **argv, const char *arg, double *optDest) |
| int | CmiGetArgDoubleDesc (char **argv, const char *arg, double *optDest, const char *desc) |
| int | CmiGetArgString (char **argv, const char *arg, char **optDest) |
| int | CmiGetArgStringDesc (char **argv, const char *arg, char **optDest, const char *desc) |
| int | CmiGetArgFlag (char **argv, const char *arg) |
| int | CmiGetArgFlagDesc (char **argv, const char *arg, const char *desc) |
| void | CmiDeleteArgs (char **argv, int k) |
| int | CmiGetArgc (char **argv) |
| char ** | CmiCopyArgs (char **argv) |
| int | CmiArgGivingUsage (void) |
| void | CmiBacktraceRecord (void **retPtrs, int nSkip, int *nLevels) |
| Extract the function-return pointers listed in the stack up to this depth. | |
| char ** | CmiBacktraceLookup (void **srcPtrs, int nLevels) |
| Look up the names of these function pointers. | |
| void | CmiBacktracePrint (void **retPtrs, int nLevels) |
| Print out the names of these function pointers. | |
| void | CmiPrintStackTrace (int nSkip) |
| int | CmiIsFortranLibraryCall () |
| CpvExtern (void *, CmiLocalQueue) | |
| char * | CmiCopyMsg (char *msg, int len) |
| int | HypercubeGetBcastDestinations (int mype, int total_pes, int k, int *dest_pes) |
| CpvExtern (int, CmiImmediateMsgHandlerIdx) | |
| CpvExtern (unsigned, networkProgressCount) | |
| void | CmiMachineProgressImpl () |
| void | CmiDelayImmediate () |
| void | CmiInitCounters () |
| void | CmiStartCounters (int events[], int numEvents) |
| void | CmiStopCounters (int events[], CMK_TYPEDEF_INT8 values[], int numEvents) |
| CmiObjId * | CthGetThreadID (CthThread th) |
| void | CthSetThreadID (CthThread th, int a, int b, int c) |
| void | CthTraceResume (CthThread t) |
| CpvExtern (char *, _validProcessors) | |
| int | CmiGetCluster (int pe) |
| int | CmiGridQueueGetInterval () |
| int | CmiGridQueueGetThreshold () |
| void | CmiGridQueueRegister (int gid, int nInts, int index1, int index2, int index3) |
| void | CmiGridQueueDeregister (int gid, int nInts, int index1, int index2, int index3) |
| void | CmiGridQueueDeregisterAll () |
| int | CmiGridQueueLookup (int gid, int nInts, int index1, int index2, int index3) |
| int | CmiGridQueueLookupMsg (char *msg) |
Variables | |
| int | memory_status_info |
| int | memory_chare_id |
| int | _Cmi_mype |
| int | _Cmi_numpes |
| int | _Cmi_myrank |
| int | _Cmi_numpes |
| int | _Cmi_mynodesize |
| int | _Cmi_mynode |
| int | _Cmi_numnodes |
| int | _Cmi_noprocforcommthread |
| CmiNodeLock | CmiMemLock_lock |
| int | _Cmi_numpes |
| int | _Cmi_mynodesize |
| int | _Cmi_mype |
| int | _Cmi_numpes |
| int | _Cmi_numpes |
| int | _Cmi_numpes |
| int | _Cmi_mynodesize |
| int | _Cmi_mynode |
| int | _Cmi_numnodes |
| int | _Cmi_noprocforcommthread |
| CmiNodeLock | CmiMemLock_lock |
| int | _immediateLock |
| int | _immediateFlag |
| CmiNodeLock | smp_mutex |
| int | cur_restart_phase |
| void * | memory_stack_top |
| double | _cpu_speed_factor |
| CmiSwitchToPEFnPtr | CmiSwitchToPE |
| int | networkProgressPeriod |
| int | _immRunning |
Definition at line 71 of file converse.h.
| typedef int CmiNodeLock |
Definition at line 150 of file converse.h.
| typedef pthread_mutex_t* CmiNodeLock |
Definition at line 191 of file converse.h.
| typedef cps_mutex_t* CmiNodeLock |
Definition at line 240 of file converse.h.
| typedef int* CmiNodeLock |
Definition at line 287 of file converse.h.
| typedef pthread_mutex_t* CmiNodeLock |
Definition at line 322 of file converse.h.
| typedef HANDLE CmiNodeLock |
Definition at line 358 of file converse.h.
| typedef int CmiImmediateLockType |
Definition at line 373 of file converse.h.
| typedef CmiNodeLock CmiImmediateLockType |
Definition at line 392 of file converse.h.
| typedef CMK_TYPEDEF_INT2 CmiInt2 |
Definition at line 483 of file converse.h.
| typedef CMK_TYPEDEF_INT4 CmiInt4 |
Definition at line 484 of file converse.h.
| typedef CMK_TYPEDEF_INT8 CmiInt8 |
Definition at line 485 of file converse.h.
| typedef CMK_TYPEDEF_UINT2 CmiUInt2 |
Definition at line 486 of file converse.h.
| typedef CMK_TYPEDEF_UINT4 CmiUInt4 |
Definition at line 487 of file converse.h.
| typedef CMK_TYPEDEF_UINT8 CmiUInt8 |
Definition at line 488 of file converse.h.
| typedef CMK_TYPEDEF_FLOAT4 CmiFloat4 |
Definition at line 489 of file converse.h.
| typedef CMK_TYPEDEF_FLOAT8 CmiFloat8 |
Definition at line 490 of file converse.h.
| typedef void* CmiCommHandle |
Definition at line 492 of file converse.h.
| typedef void(*) CmiHandler(void *msg) |
Definition at line 493 of file converse.h.
| typedef void(*) CmiHandlerEx(void *msg, void *userPtr) |
Definition at line 494 of file converse.h.
| typedef struct CMK_MSG_HEADER_BASIC CmiMsgHeaderBasic |
Definition at line 496 of file converse.h.
| typedef struct CMK_MSG_HEADER_EXT CmiMsgHeaderExt |
Definition at line 497 of file converse.h.
| typedef struct CMK_MSG_HEADER_BLUEGENE CmiBlueGeneMsgHeader |
Definition at line 506 of file converse.h.
| typedef struct infiCmiChunkHeaderStruct infiCmiChunkHeader |
| typedef void(*) CmiStartFn(int argc, char **argv) |
Definition at line 772 of file converse.h.
| typedef CMK_MULTICAST_GROUP_TYPE CmiGroup |
Definition at line 861 of file converse.h.
| typedef struct CmiIsomallocBlockList CmiIsomallocBlockList |
Definition at line 1075 of file converse.h.
| typedef struct CthThreadStruct* CthThread |
Definition at line 1088 of file converse.h.