G+S
mo
24.08.0
Geometry + Simulation Modules
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TimeHelpers.h
1
#ifndef UNITTEST_TIMEHELPERS_H
2
#define UNITTEST_TIMEHELPERS_H
3
4
#include <sys/time.h>
5
6
namespace
UnitTest {
7
8
class
Timer
9
{
10
public
:
11
Timer();
12
void
Start();
13
double
GetTimeInMs()
const
;
14
15
private
:
16
struct
timeval m_startTime;
17
};
18
19
20
namespace
TimeHelpers
21
{
22
void
SleepMs(
int
ms);
23
}
24
25
26
}
27
28
#endif
gismo
optional
gsUnitTest
Posix
TimeHelpers.h
Generated on Thu Nov 21 2024 14:52:14 for G+Smo by Doxygen v1.8.5