SIMLIB/C++  3.07
Namespaces | Functions | Variables
run.cc File Reference

Simulation control algorithm. More...

#include "simlib.h"
#include "internal.h"
#include <cstdlib>
Include dependency graph for run.cc:

Go to the source code of this file.

Namespaces

 simlib3
 Implementation of class CalendarList
interface is static - using global functions in SQS namespace.
 

Functions

 simlib3::DEFINE_HOOK (Delay)
 
 simlib3::DEFINE_HOOK (DelayInit)
 
void simlib3::SampleDelays ()
 
 simlib3::DEFINE_HOOK (ZDelayTimerInit)
 
 simlib3::DEFINE_HOOK (Break)
 
void simlib3::InstallBreak (void(*f)())
 InstallBreak — set function for checking if user breaks simulation. More...
 
 simlib3::DEFINE_HOOK (SamplerAct)
 
 simlib3::DEFINE_HOOK (SamplerInit)
 
 simlib3::DEFINE_HOOK (WUclear)
 
void simlib3::SIMLIB_WUClear ()
 
 simlib3::DEFINE_HOOK (WUget_next)
 
void simlib3::SIMLIB_DoActions ()
 
void simlib3::Stop ()
 stop current simulation run More...
 
void simlib3::Abort ()
 end simulation program More...
 
void simlib3::SIMLIB_Init (double T0, double T1, unsigned version)
 
void simlib3::Run ()
 run simulation experiment More...
 

Variables

const double & simlib3::StartTime = SIMLIB_StartTime
 time of simulation start More...
 
const double & simlib3::Time = SIMLIB_Time
 model time (is NOT the block) More...
 
const double & simlib3::NextTime = SIMLIB_NextTime
 next-event time More...
 
const double & simlib3::EndTime = SIMLIB_EndTime
 time of simulation end More...
 
Entity *const & simlib3::Current = SIMLIB_Current
 pointer to active (now running) entity More...
 
unsigned long simlib3::SIMLIB_experiment_no = 0
 
static SIMLIB_statistics_t simlib3::SIMLIB_run_statistics
 
const SIMLIB_statistics_tsimlib3::SIMLIB_statistics = SIMLIB_run_statistics
 interface to internal run-time statistics structure More...
 
static bool simlib3::StopFlag = false
 

Detailed Description

Simulation control algorithm.

Definition in file run.cc.