mirror of
https://github.com/zetaPRIME/libstarlight.git
synced 2025-06-26 05:32:46 +00:00
21 lines
435 B
C++
21 lines
435 B
C++
#pragma once
|
|
#include "starlight/_global.h"
|
|
|
|
namespace starlight {
|
|
namespace util {
|
|
class FrameTimer {
|
|
private:
|
|
struct TickCount {
|
|
unsigned long long int elapsed;
|
|
unsigned long long int ref;
|
|
};
|
|
TickCount tc;
|
|
public:
|
|
FrameTimer();
|
|
|
|
void FrameStart();
|
|
double GetSubframe();
|
|
};
|
|
}
|
|
}
|