SIMLIB/C++ 3.09
Loading...
Searching...
No Matches
simlib3::SIMLIB_statistics_t Struct Reference

internal statistics structure
contains basic statistics of simulator execution More...

#include <simlib.h>

Public Member Functions

 SIMLIB_statistics_t ()
 constructor runs SIMLIB_statistics_t::Init()
void Init ()
 initialize - used at the start of each Run()
void Output () const
 print run-time statistics to output

Public Attributes

double StartTime
double EndTime
long EventCount
long StepCount
double MinStep
double MaxStep

Detailed Description

internal statistics structure
contains basic statistics of simulator execution

Definition at line 1806 of file simlib.h.

Constructor & Destructor Documentation

◆ SIMLIB_statistics_t()

simlib3::SIMLIB_statistics_t::SIMLIB_statistics_t ( )

constructor runs SIMLIB_statistics_t::Init()

internal statistical information

Definition at line 65 of file run.cc.

References Init().

Member Function Documentation

◆ Init()

void simlib3::SIMLIB_statistics_t::Init ( )

initialize - used at the start of each Run()

Definition at line 68 of file run.cc.

References EndTime, EventCount, MaxStep, MinStep, StartTime, and StepCount.

Referenced by simlib3::Run(), and SIMLIB_statistics_t().

◆ Output()

Member Data Documentation

◆ EndTime

double simlib3::SIMLIB_statistics_t::EndTime

Definition at line 1808 of file simlib.h.

Referenced by Init(), Output(), and simlib3::Run().

◆ EventCount

long simlib3::SIMLIB_statistics_t::EventCount

Definition at line 1809 of file simlib.h.

Referenced by Init(), Output(), and simlib3::Run().

◆ MaxStep

double simlib3::SIMLIB_statistics_t::MaxStep

Definition at line 1812 of file simlib.h.

Referenced by Init(), Output(), and simlib3::Run().

◆ MinStep

double simlib3::SIMLIB_statistics_t::MinStep

Definition at line 1811 of file simlib.h.

Referenced by Init(), Output(), and simlib3::Run().

◆ StartTime

double simlib3::SIMLIB_statistics_t::StartTime

Definition at line 1807 of file simlib.h.

Referenced by Init(), Output(), and simlib3::Run().

◆ StepCount

long simlib3::SIMLIB_statistics_t::StepCount

Definition at line 1810 of file simlib.h.

Referenced by Init(), Output(), and simlib3::Run().


The documentation for this struct was generated from the following files: