mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-16 08:51:26 -06:00
25 lines
237 B
C++
25 lines
237 B
C++
#ifndef TIMER_H_
|
|
#define TIMER_H_
|
|
|
|
/*
|
|
* Author: Victor Sand (victor.sand@gmail.com)
|
|
*
|
|
*/
|
|
|
|
namespace osp {
|
|
|
|
class Timer {
|
|
public:
|
|
Timer();
|
|
void Start();
|
|
void Stop();
|
|
void Print();
|
|
private:
|
|
float elapsedTime_;
|
|
};
|
|
|
|
}
|
|
|
|
#endif;
|
|
|