c0e249e993
This reverts commitdaf3b57e89
, reversing changes made to7a6e0b7d77
.
16 lines
No EOL
256 B
C++
16 lines
No EOL
256 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include <chrono>
|
|
using namespace std::chrono;
|
|
|
|
class Timer
|
|
{
|
|
private:
|
|
high_resolution_clock::time_point _start;
|
|
|
|
public:
|
|
Timer();
|
|
void Reset();
|
|
double GetElapsedMS();
|
|
void WaitUntil(double targetMillisecond);
|
|
}; |