Go to the source code of this file.
Data Structures | |
| class | callBack |
| Class for user-specified callback. More... | |
| class | pose |
| Coordinator of simulation initialization, start and termination. More... | |
Functions | |
| void | POSE_init () |
| Main initialization for all of POSE. | |
| void | POSE_init (int ET) |
| void | POSE_init (int IDflag, int ET) |
| void | POSE_startTimer () |
| Start POSE simulation timer. | |
| void | POSE_useID () |
| Use Inactivity Detection to terminate program. | |
| void | POSE_useET (POSE_TimeType et) |
| Also uses inactivity detection in conjunction with end time. | |
| void | POSE_registerCallBack (CkCallback cb) |
| Specify an optional callback to be called when simulation terminates. | |
| void | POSE_stop () |
| Stops timer so statistics collection, callback, final output, etc. | |
| void | POSE_prepExit (void *param, void *msg) |
| Exit simulation program after terminus reduction. | |
| void | POSE_exit () |
| Exit simulation program. | |
| void | POSE_set_busy_wait (double n) |
| Set busy wait time. | |
| void | POSE_busy_wait () |
| Busy wait for busyWait. | |
| void | POSE_busy_wait (double n) |
| Busy wait for n. | |
| CpvExtern (int, stateRecovery) | |
| 0 for normal forward execution; 1 for state recovery only | |
Variables | |
| double | busyWait |
| User specified busy wait time (for grainsize testing). | |
| double | sim_timer |
| Simulation start time. | |
| POSE_TimeType | POSE_endtime |
| Simulation end time. | |
| int | POSE_inactDetect |
| Inactivity detection flag. | |
| POSE_TimeType | POSE_GlobalClock |
| Global clock (for sequential simulation). | |
| POSE_TimeType | POSE_GlobalTS |
| ComlibInstanceHandle | POSE_commlib_insthndl |
| For getting access to the commlib strategy. | |
| POSE_Config | pose_config |
| int | comm_debug |
| void POSE_init | ( | ) |
Main initialization for all of POSE.
Definition at line 31 of file pose.C.
References POSE_init(), and POSE_UnsetTS.
| void POSE_init | ( | int | ET | ) |
Definition at line 41 of file pose.C.
References CkGetComlibInstance(), Converse::CkNumPes(), CkStartQD(), CmiWallTimer(), POSE_Config::lb_on, MemPoolID, POSE_commlib_insthndl, pose_config, POSE_Coordinator_ID, POSE_endtime, POSE_GlobalClock, POSE_GlobalTS, POSE_inactDetect, POSE_Objects, POSE_Objects_RO, POSEreadCmdLine(), ComlibInstanceHandle::setStrategy(), sim_timer, TempMemID, theGlobalStats, TheGVT, TheLBG, TheLBstrategy, theLocalStats, ThePVT, and traceRegisterUserEvent().
| void POSE_startTimer | ( | ) |
Start POSE simulation timer.
Definition at line 132 of file pose.C.
References CmiWallTimer(), and sim_timer.
| void POSE_useID | ( | ) |
| void POSE_useET | ( | POSE_TimeType | et | ) |
| void POSE_registerCallBack | ( | CkCallback | cb | ) |
Specify an optional callback to be called when simulation terminates.
Definition at line 150 of file pose.C.
References callBack::callback, and POSE_Coordinator_ID.
| void POSE_stop | ( | ) |
Stops timer so statistics collection, callback, final output, etc.
are not counted in simulation time.
Definition at line 159 of file pose.C.
References POSE_Coordinator_ID.
Referenced by GVT::computeGVT().
| void POSE_prepExit | ( | void * | param, | |
| void * | msg | |||
| ) |
| void POSE_set_busy_wait | ( | double | n | ) |
| void POSE_busy_wait | ( | ) |
Busy wait for busyWait.
Definition at line 185 of file pose.C.
References busyWait, and CmiWallTimer().
| void POSE_busy_wait | ( | double | n | ) |
| CpvExtern | ( | int | , | |
| stateRecovery | ||||
| ) |
0 for normal forward execution; 1 for state recovery only
| double busyWait |
User specified busy wait time (for grainsize testing).
Definition at line 12 of file pose.C.
Referenced by POSE_busy_wait(), and POSE_set_busy_wait().
| double sim_timer |
Simulation start time.
Definition at line 13 of file pose.C.
Referenced by POSE_init(), POSE_startTimer(), and pose::prepExit().
Simulation end time.
Definition at line 15 of file pose.C.
Referenced by sim::Commit(), eventQueue::CommitEvents(), GVT::computeGVT(), POSE_init(), adapt::Step(), adapt2::Step(), adapt3::Step(), adapt4::Step(), opt2::Step(), opt3::Step(), and spec::Step().
Global clock (for sequential simulation).
Definition at line 16 of file pose.C.
Referenced by POSE_init(), seq::Step(), and pose::stop().
For getting access to the commlib strategy.
Definition at line 19 of file pose.C.
Referenced by POSE_init().
Definition at line 15 of file convcomlibmanager.C.
1.5.1