#include <LBObj.h>
Collaboration diagram for LBObj:

Public Member Functions | |
| LBObj (LBDB *_parentDB, const LDObjHandle &_h, void *usr_ptr=NULL, CmiBool _migratable=CmiTrue, CmiBool _asyncArrival=CmiFalse) | |
| ~LBObj () | |
| LBObj (LBDB *_parentDB, LDOMHandle _omhandle, LDObjid _id, void *_userData=0, CmiBool _migratable=CmiTrue) | |
| void | DepositHandle (const LDObjHandle &_h) |
| void | Clear (void) |
| void | IncrementTime (double walltime, double cputime) |
| void | StartTimer (void) |
| void | StopTimer (double *walltime, double *cputime) |
| void | setTiming (double cputime) |
| LDOMHandle & | parentOM () |
| const LDObjHandle & | GetLDObjHandle () const |
| void | SetMigratable (CmiBool mig) |
| void | UseAsyncMigrate (CmiBool async) |
| LDObjData & | ObjData () |
| void | lastKnownLoad (double *c, double *w) |
| void * | getUserData () |
Private Attributes | |
| LBDB * | parentDB |
| void * | userData |
| LDObjData | data |
| double | startWTime |
| double | startCTime |
| double | lastCpuTime |
| double | lastWallTime |
Friends | |
| class | LBDB |
Definition at line 20 of file LBObj.h.
| LBObj::LBObj | ( | LBDB * | _parentDB, | |
| const LDObjHandle & | _h, | |||
| void * | usr_ptr = NULL, |
|||
| CmiBool | _migratable = CmiTrue, |
|||
| CmiBool | _asyncArrival = CmiFalse | |||
| ) | [inline] |
Definition at line 25 of file LBObj.h.
References LDObjData::asyncArrival, Clear(), data, LDObjData::handle, lastCpuTime, lastWallTime, LDObjData::migratable, parentDB, startCTime, startWTime, and userData.
| LBObj::LBObj | ( | LBDB * | _parentDB, | |
| LDOMHandle | _omhandle, | |||
| LDObjid | _id, | |||
| void * | _userData = 0, |
|||
| CmiBool | _migratable = CmiTrue | |||
| ) | [inline] |
| void LBObj::DepositHandle | ( | const LDObjHandle & | _h | ) | [inline] |
Definition at line 55 of file LBObj.h.
References CmiTrue, LDObjData::cpuTime, data, LDObjData::handle, LDObjData::migratable, and LDObjData::wallTime.
Referenced by LBDB::AddObj().
| void LBObj::StartTimer | ( | void | ) | [inline] |
Definition at line 70 of file LBObj.h.
References startCTime, and startWTime.
Referenced by LDCollectStatsOn(), and LDObjectStart().
| void LBObj::StopTimer | ( | double * | walltime, | |
| double * | cputime | |||
| ) | [inline] |
Definition at line 78 of file LBObj.h.
References startCTime, and startWTime.
Referenced by LDObjectStop().
| void LBObj::setTiming | ( | double | cputime | ) | [inline] |
Definition at line 94 of file LBObj.h.
References LDObjData::cpuTime, data, and LDObjData::wallTime.
Referenced by LBDatabase::EstObjLoad().
| LDOMHandle& LBObj::parentOM | ( | ) | [inline] |
Definition at line 100 of file LBObj.h.
References data, LDObjData::handle, and LDObjHandle::omhandle.
| const LDObjHandle& LBObj::GetLDObjHandle | ( | ) | const [inline] |
Definition at line 101 of file LBObj.h.
References data, and LDObjData::handle.
Referenced by LDGetObjHandle().
| void LBObj::SetMigratable | ( | CmiBool | mig | ) | [inline] |
Definition at line 102 of file LBObj.h.
References data, and LDObjData::migratable.
Referenced by LDMigratable(), and LDNonMigratable().
| void LBObj::UseAsyncMigrate | ( | CmiBool | async | ) | [inline] |
Definition at line 103 of file LBObj.h.
References LDObjData::asyncArrival, and data.
Referenced by LDAsyncMigrate().
| void LBObj::lastKnownLoad | ( | double * | c, | |
| double * | w | |||
| ) | [inline] |
Definition at line 105 of file LBObj.h.
References lastCpuTime, and lastWallTime.
Referenced by LDQueryKnownObjLoad().
| void* LBObj::getUserData | ( | ) | [inline] |
LBDB* LBObj::parentDB [private] |
void* LBObj::userData [private] |
LDObjData LBObj::data [private] |
Definition at line 113 of file LBObj.h.
Referenced by Clear(), DepositHandle(), GetLDObjHandle(), IncrementTime(), LBObj(), ObjData(), parentOM(), SetMigratable(), setTiming(), and UseAsyncMigrate().
double LBObj::startWTime [private] |
double LBObj::startCTime [private] |
double LBObj::lastCpuTime [private] |
double LBObj::lastWallTime [private] |
1.5.1