mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Reformat all the things. Have fun with merge conflicts.
This commit is contained in:
@ -11,22 +11,21 @@
|
||||
class FPSCounter
|
||||
{
|
||||
public:
|
||||
// Initializes the FPS counter.
|
||||
FPSCounter();
|
||||
// Initializes the FPS counter.
|
||||
FPSCounter();
|
||||
|
||||
// Called when a frame is rendered (updated every second).
|
||||
void Update();
|
||||
|
||||
unsigned int GetFPS() const { return m_fps; }
|
||||
// Called when a frame is rendered (updated every second).
|
||||
void Update();
|
||||
|
||||
unsigned int GetFPS() const { return m_fps; }
|
||||
private:
|
||||
unsigned int m_fps = 0;
|
||||
unsigned int m_counter = 0;
|
||||
unsigned int m_fps_last_counter = 0;
|
||||
Common::Timer m_update_time;
|
||||
unsigned int m_fps = 0;
|
||||
unsigned int m_counter = 0;
|
||||
unsigned int m_fps_last_counter = 0;
|
||||
Common::Timer m_update_time;
|
||||
|
||||
Common::Timer m_render_time;
|
||||
std::ofstream m_bench_file;
|
||||
Common::Timer m_render_time;
|
||||
std::ofstream m_bench_file;
|
||||
|
||||
void LogRenderTimeToFile(u64 val);
|
||||
void LogRenderTimeToFile(u64 val);
|
||||
};
|
||||
|
Reference in New Issue
Block a user