OMSimulatorLib
The OMSimulator project is a FMI-based co-simulation environment that supports ordinary (i.e., non-delayed) and TLM connections.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Clocks Class Reference

#include <Clocks.h>

Collaboration diagram for Clocks:
Collaboration graph

Public Member Functions

 Clocks (int numSubClocks)
 
 ~Clocks ()
 
void tic (int clock)
 
void toc (int clock)
 
void getStats (double *cpuStats, double *wallStats)
 

Private Member Functions

 Clocks (Clocks const &copy)
 
Clocksoperator= (Clocks const &copy)
 

Private Attributes

int numSubClocks
 
Clockclocks
 
std::stack< int > activeClocks
 

Constructor & Destructor Documentation

◆ Clocks() [1/2]

Clocks::Clocks ( int  numSubClocks)
Here is the call graph for this function:

◆ ~Clocks()

Clocks::~Clocks ( )

◆ Clocks() [2/2]

Clocks::Clocks ( Clocks const &  copy)
private

Member Function Documentation

◆ getStats()

void Clocks::getStats ( double *  cpuStats,
double *  wallStats 
)
Here is the call graph for this function:

◆ operator=()

Clocks& Clocks::operator= ( Clocks const &  copy)
private

◆ tic()

void Clocks::tic ( int  clock)
Here is the call graph for this function:

◆ toc()

void Clocks::toc ( int  clock)
Here is the call graph for this function:

Member Data Documentation

◆ activeClocks

std::stack<int> Clocks::activeClocks
private

◆ clocks

Clock* Clocks::clocks
private

◆ numSubClocks

int Clocks::numSubClocks
private

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