PPL Logo

ck-ldb/lbdb.h File Reference

Go to the source code of this file.

Data Structures

struct  LDHandle
struct  _LDOMid
struct  LDOMHandle
struct  _LDObjKey
struct  LDObjHandle
class  LBUserDataLayout
class  LBObjUserData
struct  LDObjData
struct  LDObjStats
struct  _LDCommDesc
struct  _LDCommData
struct  LDCallbacks
struct  LDBarrierClient
struct  LDBarrierReceiver

Typedefs

typedef CMK_LBTIME_TYPE LBRealType
typedef void * cvoid
typedef int LDHandle
typedef struct _LDOMid LDOMid
typedef struct _LDObjKey LDObjKey
typedef int LDObjIndex
typedef int LDOMIndex
typedef struct _LDCommDesc LDCommDesc
typedef struct _LDCommData LDCommData
typedef void(* LDMigrateFn )(LDObjHandle handle, int dest)
typedef void(* LDStatsFn )(LDOMHandle h, int state)
typedef void(* LDQueryEstLoadFn )(LDOMHandle h)
typedef void(* LDMetaLBResumeWaitingCharesFn )(LDObjHandle handle, int lb_ideal_period)
typedef void(* LDMetaLBCallLBOnCharesFn )(LDObjHandle handle)
typedef void(* LDMigratedFn )(void *data, LDObjHandle handle, int waitBarrier)
typedef void(* LDStartLBFn )(void *user_ptr)
typedef void(* LDMigrationDoneFn )(void *user_ptr)
typedef void(* LDPredictFn )(void *user_ptr)
typedef void(* LDPredictModelFn )(void *user_ptr, void *model)
typedef void(* LDPredictWindowFn )(void *user_ptr, void *model, int wind)
typedef void(* LDBarrierFn )(void *user_ptr)
typedef void(* LDResumeFn )(void *user_ptr)

Functions

 CkpvExtern (LBUserDataLayout, lbobjdatalayout)
void LBBalance (void *param)
void LBCollectStatsOn (void)
void LBCollectStatsOff (void)
LDHandle LDCreate (void)
LDOMHandle LDRegisterOM (LDHandle _db, LDOMid _userID, void *_userptr, LDCallbacks _callbacks)
void LDUnregisterOM (LDHandle _db, LDOMHandle om)
void LDOMMetaLBResumeWaitingChares (LDHandle _db, int lb_ideal_period)
void LDOMMetaLBCallLBOnChares (LDHandle _db)
void * LDOMUserData (LDOMHandle &_h)
void LDRegisteringObjects (LDOMHandle _h)
void LDDoneRegisteringObjects (LDOMHandle _h)
LDObjHandle LDRegisterObj (LDOMHandle _h, CmiUInt8 _id, void *_userData, bool _migratable)
void LDUnregisterObj (LDObjHandle _h)
void * LDObjUserData (LDObjHandle &_h)
void * LDDBObjUserData (LDObjHandle &_h, int idx)
void LDObjTime (LDObjHandle &_h, LBRealType walltime, LBRealType cputime)
int CLDRunningObject (LDHandle _h, LDObjHandle *_o)
void LDObjectStart (const LDObjHandle &_h)
void LDObjectStop (const LDObjHandle &_h)
void LDSend (const LDOMHandle &destOM, const CmiUInt8 &destid, unsigned int bytes, int destObjProc, int force)
void LDMulticastSend (const LDOMHandle &destOM, CmiUInt8 *destids, int ndests, unsigned int bytes, int nMsgs)
void LDMessage (LDObjHandle from, LDOMid toOM, CmiUInt8 *toID, int bytes)
void LDEstObjLoad (LDObjHandle h, double load)
void LDNonMigratable (const LDObjHandle &h)
void LDMigratable (const LDObjHandle &h)
void LDSetPupSize (const LDObjHandle &h, size_t obj_pup_size)
void LDAsyncMigrate (const LDObjHandle &h, bool async)
void LDDumpDatabase (LDHandle _db)
void LDNotifyMigrated (LDHandle _db, LDMigratedFn fn, void *data)
void LDAddStartLBFn (LDHandle _db, LDStartLBFn fn, void *data)
void LDRemoveStartLBFn (LDHandle _db, LDStartLBFn fn)
void LDStartLB (LDHandle _db)
void LDTurnManualLBOn (LDHandle _db)
void LDTurnManualLBOff (LDHandle _db)
int LDAddMigrationDoneFn (LDHandle _db, LDMigrationDoneFn fn, void *data)
void LDRemoveMigrationDoneFn (LDHandle _db, LDMigrationDoneFn fn)
void LDMigrationDone (LDHandle _db)
void LDTurnPredictorOn (LDHandle _db, void *model)
void LDTurnPredictorOnWin (LDHandle _db, void *model, int wind)
void LDTurnPredictorOff (LDHandle _db)
void LDChangePredictor (LDHandle _db, void *model)
void LDCollectStatsOn (LDHandle _db)
void LDCollectStatsOff (LDHandle _db)
int CLDCollectingStats (LDHandle _db)
void LDQueryEstLoad (LDHandle bdb)
void LDGetObjLoad (LDObjHandle &_h, LBRealType *wallT, LBRealType *cpuT)
void LDQueryKnownObjLoad (LDObjHandle &_h, LBRealType *wallT, LBRealType *cpuT)
int LDGetObjDataSz (LDHandle _db)
void LDGetObjData (LDHandle _db, LDObjData *data)
int LDGetCommDataSz (LDHandle _db)
void LDGetCommData (LDHandle _db, LDCommData *data)
void LDGetCommInfo (LDHandle _db, int &bytes, int &msgs, int &withinbytes, int &outsidebytes, int &n_nghbors, int &hops, int &hopbytes)
void LDBackgroundLoad (LDHandle _db, LBRealType *walltime, LBRealType *cputime)
void LDIdleTime (LDHandle _db, LBRealType *walltime)
void LDTotalTime (LDHandle _db, LBRealType *walltime, LBRealType *cputime)
void LDGetTime (LDHandle _db, LBRealType *total_walltime, LBRealType *total_cputime, LBRealType *idletime, LBRealType *bg_walltime, LBRealType *bg_cputime)
void LDClearLoads (LDHandle _db)
int LDMigrate (LDObjHandle _h, int dest)
void LDMigrated (LDObjHandle _h, int waitBarrier)
void LDAtLocalBarrier (LDHandle _db, LDBarrierClient h)
void LDDecreaseLocalBarrier (LDHandle _db, LDBarrierClient h, int c)
void LDLocalBarrierOn (LDHandle _db)
void LDLocalBarrierOff (LDHandle _db)
void LDResumeClients (LDHandle _db)
int LDProcessorSpeed ()
bool LDOMidEqual (const LDOMid &i1, const LDOMid &i2)
void LDSetLBPeriod (LDHandle _db, double s)
double LDGetLBPeriod (LDHandle _db)
int LDMemusage (LDHandle _db)
const LDObjHandleLDGetObjHandle (LDHandle h, int oh)
LDBarrierClient LDAddLocalBarrierClient (LDHandle _db, LDResumeFn fn, void *data)
void LDRemoveLocalBarrierClient (LDHandle _db, LDBarrierClient h)
LDBarrierReceiver LDAddLocalBarrierReceiver (LDHandle _db, LDBarrierFn fn, void *data)
void LDRemoveLocalBarrierReceiver (LDHandle _db, LDBarrierReceiver h)
 PUPbytes (LDHandle) inline void LDOMid
 PUPmarshall (LDOMid) inline void LDObjKey
 PUPmarshall (LDObjKey) inline void LDObjStats
 PUPmarshall (LDObjStats) inline void LDOMHandle
 PUPmarshall (LDOMHandle) inline void LDObjHandle
 PUPmarshall (LDObjHandle) inline void LBObjUserData
 PUPmarshall (LBObjUserData) inline void LDObjData
 PUPmarshall (LDObjData) inline bool LDCommDesc
 PUPmarshall (LDCommDesc) inline void LDCommData

Variables

int _lb_version
 flag to write all LB decisions


Generated on Mon Sep 21 07:59:15 2020 for Charm++ by  doxygen 1.5.5