SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
GlobalTimer Class Reference

#include <GlobalTimer.h>

Static Public Member Functions

static void timerStart ()
 
static float timeS ()
 
static float timeMS ()
 

Static Private Attributes

static HighResTimer _timer
 

Detailed Description

Definition at line 16 of file GlobalTimer.h.

Member Function Documentation

◆ timeMS()

float GlobalTimer::timeMS ( )
static

Definition at line 25 of file GlobalTimer.cpp.

26 {
28 }
static HighResTimer _timer
Definition: GlobalTimer.h:24
float elapsedTimeInMilliSec()
Definition: HighResTimer.h:38

◆ timerStart()

void GlobalTimer::timerStart ( )
static

Definition at line 15 of file GlobalTimer.cpp.

16 {
17  _timer.start();
18 }
void start()
Definition: HighResTimer.h:35

◆ timeS()

float GlobalTimer::timeS ( )
static

Definition at line 20 of file GlobalTimer.cpp.

21 {
22  return _timer.elapsedTimeInSec();
23 }
float elapsedTimeInSec()
Definition: HighResTimer.h:37

Member Data Documentation

◆ _timer

HighResTimer GlobalTimer::_timer
staticprivate

Definition at line 24 of file GlobalTimer.h.


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