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>`

## 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 | ) |

## ◆ ~Clocks()

Clocks::~Clocks | ( |  | ) |

## ◆ Clocks() [2/2]

Clocks::Clocks | ( | Clocks const & | copy | ) |
| private

## Member Function Documentation

## ◆ getStats()

void Clocks::getStats | ( | double * | cpuStats,
|  | double * | wallStats
| ) |  |

## ◆ operator=()

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

## ◆ tic()

void Clocks::tic | ( | int | clock | ) |

## ◆ toc()

void Clocks::toc | ( | int | clock | ) |

## 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-1540/src/OMSimulatorLib/Clocks.h
- /var/lib/jenkins/ws/OMSimulator_PR-1540/src/OMSimulatorLib/Clocks.cpp