OMSimulatorLib The OMSimulator project is a FMI-based co-simulation environment.

Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Clocks Class Reference

`#include <Clocks.h>`

Collaboration diagram for Clocks:
[legend]

## 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)
Clocks & | operator= (Clocks const &copy)

## Private Attributes
int | numSubClocks
Clock * | clocks
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:

- /var/lib/jenkins/ws/OMSimulator_PR-1619/src/OMSimulatorLib/Clocks.h
- /var/lib/jenkins/ws/OMSimulator_PR-1619/src/OMSimulatorLib/Clocks.cpp