SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
GlobalTimer.h
Go to the documentation of this file.
1
/**
2
* \file GlobalTimer.h
3
* \authors Michael Goettlicher
4
* \date March 2018
5
* \authors Marcus Hudritsch
6
* \copyright http://opensource.org/licenses/GPL-3.0
7
* \remarks Please use clangformat to format the code. See more code style on
8
* https://github.com/cpvrlab/SLProject4/wiki/SLProject-Coding-Style
9
*/
10
11
#ifndef GLOBAL_TIMER_H
12
#define GLOBAL_TIMER_H
13
14
#include "
HighResTimer.h
"
15
16
class
GlobalTimer
17
{
18
public
:
19
static
void
timerStart
();
20
static
float
timeS
();
21
static
float
timeMS
();
22
23
private
:
24
static
HighResTimer
_timer
;
25
};
26
27
#endif
// GLOBAL_TIMER_H
HighResTimer.h
GlobalTimer
Definition:
GlobalTimer.h:17
GlobalTimer::_timer
static HighResTimer _timer
Definition:
GlobalTimer.h:24
GlobalTimer::timerStart
static void timerStart()
Definition:
GlobalTimer.cpp:15
GlobalTimer::timeS
static float timeS()
Definition:
GlobalTimer.cpp:20
GlobalTimer::timeMS
static float timeMS()
Definition:
GlobalTimer.cpp:25
HighResTimer
High Resolution Timer class using C++11.
Definition:
HighResTimer.h:31
modules
utils
source
GlobalTimer.h
Generated by
1.9.1