2015-05-24 06:55:12 +02:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-18 01:08:10 +02:00
|
|
|
// Licensed under GPLv2+
|
2013-04-18 05:29:41 +02:00
|
|
|
// Refer to the license.txt file included.
|
2010-06-09 03:37:08 +02:00
|
|
|
|
2014-09-19 06:17:41 +02:00
|
|
|
#include <cstring>
|
2014-02-17 11:18:15 +01:00
|
|
|
#include "VideoBackends/Software/SWStatistics.h"
|
2010-06-09 03:37:08 +02:00
|
|
|
|
2011-02-03 20:55:30 +01:00
|
|
|
SWStatistics swstats;
|
2010-06-09 03:37:08 +02:00
|
|
|
|
2011-02-03 20:55:30 +01:00
|
|
|
SWStatistics::SWStatistics()
|
2010-06-09 03:37:08 +02:00
|
|
|
{
|
2013-04-14 05:54:02 +02:00
|
|
|
frameCount = 0;
|
2010-06-09 03:37:08 +02:00
|
|
|
}
|
|
|
|
|
2011-02-03 20:55:30 +01:00
|
|
|
void SWStatistics::ResetFrame()
|
2010-06-09 03:37:08 +02:00
|
|
|
{
|
|
|
|
memset(&thisFrame, 0, sizeof(ThisFrame));
|
|
|
|
}
|