Go to the source code of this file.
Functions | |
| CpvDeclare (int, stateRecovery) | |
| Global POSE data and functions; includes and dependencies handled here. | |
| CpvDeclare (eventID, theEventID) | |
| void | POSEreadCmdLine () |
| const eventID & | GetEventID () |
| Generates and returns unique event IDs. | |
| 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_exit () |
| Exit simulation program. | |
| void | POSE_prepExit (void *param, void *msg) |
| Exit simulation program after terminus reduction. | |
| 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. | |
| void | _registerseqpose (void) |
Variables | |
| int | comm_debug |
| double | busyWait |
| User specified busy wait time (for grainsize testing). | |
| double | sim_timer |
| Simulation start time. | |
| int | POSE_inactDetect |
| Inactivity detection flag. | |
| POSE_TimeType | POSE_endtime |
| Simulation end time. | |
| POSE_TimeType | POSE_GlobalClock |
| Global clock (for sequential simulation). | |
| POSE_TimeType | POSE_GlobalTS |
| POSE_Config | pose_config |
| ComlibInstanceHandle | POSE_commlib_insthndl |
| For getting access to the commlib strategy. | |
| CpvDeclare | ( | int | , | |
| stateRecovery | ||||
| ) |
Global POSE data and functions; includes and dependencies handled here.
| CpvDeclare | ( | eventID | , | |
| theEventID | ||||
| ) |
| void POSEreadCmdLine | ( | ) |
Definition at line 259 of file pose.C.
References CkGetArgv(), CmiArgGroup(), CmiGetArgFlagDesc(), CmiGetArgIntDesc(), POSE_Config::deterministic, POSE_Config::dop, POSE_Config::lb_diff, POSE_Config::lb_on, POSE_Config::lb_skip, POSE_Config::lb_threshold, POSE_Config::max_leash, POSE_Config::max_usage, POSE_Config::min_leash, pose_config, POSE_Config::spec_window, POSE_Config::stats, POSE_Config::store_rate, and POSE_Config::trace.
Referenced by POSE_init().
| const eventID& GetEventID | ( | ) |
Generates and returns unique event IDs.
Definition at line 22 of file pose.C.
References eventID::incEventID().
Referenced by eventMsg::SetSequenceNumber(), and eventMsg::Timestamp().
| void POSE_init | ( | ) |
Main initialization for all of POSE.
Definition at line 31 of file pose.C.
Referenced by POSE_init().
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_exit | ( | ) |
Exit simulation program.
Definition at line 166 of file pose.C.
References POSE_Coordinator_ID.
Referenced by globalStat::DOPcalc(), globalStat::localStatReport(), and pose::prepExit().
| void POSE_prepExit | ( | void * | param, | |
| void * | msg | |||
| ) |
Exit simulation program after terminus reduction.
Definition at line 173 of file pose.C.
References POSE_Coordinator_ID.
Referenced by sim::Terminate().
| void POSE_set_busy_wait | ( | double | n | ) |
| void POSE_busy_wait | ( | double | n | ) |
Definition at line 15 of file convcomlibmanager.C.
| 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(), spec::Step(), opt3::Step(), opt2::Step(), adapt4::Step(), adapt3::Step(), adapt2::Step(), and adapt::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().
1.5.1