SIMLIB/C++ 3.09
Loading...
Searching...
No Matches
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

namespace  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.
 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
void simlib3::Abort ()
 end simulation program
void simlib3::SIMLIB_Init (double T0, double T1, unsigned version)
void simlib3::Run ()
 run simulation experiment

Variables

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

Detailed Description

Simulation control algorithm.

Definition in file run.cc.