Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Private Member Functions | Private Attributes | List of all members
OChronoTime Class Reference

#include <chrono.h>

Public Member Functions

 OChronoTime ()
 
unsigned long getTime () const
 
OChronoTime operator+ (const OChronoTime &other) const
 
OChronoTime operator- (const OChronoTime &other) const
 

Private Member Functions

 OChronoTime (unsigned long time)
 

Private Attributes

unsigned long _time
 

Detailed Description

A Class to measure execution time in milliseconds using system clock.

Definition at line 35 of file chrono.h.

Constructor & Destructor Documentation

◆ OChronoTime() [1/2]

OChronoTime::OChronoTime ( )
inline

Definition at line 38 of file chrono.h.

Here is the caller graph for this function:

◆ OChronoTime() [2/2]

OChronoTime::OChronoTime ( unsigned long  time)
inlineprivate

Definition at line 62 of file chrono.h.

Member Function Documentation

◆ getTime()

unsigned long OChronoTime::getTime ( ) const
inline

Definition at line 42 of file chrono.h.

Here is the caller graph for this function:

◆ operator+()

OChronoTime OChronoTime::operator+ ( const OChronoTime other) const
inline

Addition.

Definition at line 49 of file chrono.h.

Here is the call graph for this function:

◆ operator-()

OChronoTime OChronoTime::operator- ( const OChronoTime other) const
inline

Substraction.

Definition at line 56 of file chrono.h.

Here is the call graph for this function:

Member Data Documentation

◆ _time

unsigned long OChronoTime::_time
private

Definition at line 67 of file chrono.h.


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