mirror of
https://github.com/libretro/MesenCE.git
synced 2026-11-10 17:25:07 -10:00
* Video: Add support for VRR when in borderless fullscreen mode (Windows only) and improve frame pacing * Fixed debug stats not disappearing when unchecking option in some scenarios * Changed frame pacing graph scale/logic to show the gap between the ideal pacing and the current pacing (within +/- 2ms)
15 lines
210 B
C++
15 lines
210 B
C++
#pragma once
|
|
#include "pch.h"
|
|
#include <chrono>
|
|
using namespace std::chrono;
|
|
|
|
class Timer
|
|
{
|
|
private:
|
|
high_resolution_clock::time_point _start;
|
|
|
|
public:
|
|
Timer();
|
|
void Reset();
|
|
double GetElapsedMS() const;
|
|
}; |