dolphin/Source/Core/VideoBackends/Software/SWStatistics.cpp
2013-12-31 14:03:19 -05:00

26 lines
362 B
C++

// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#include "SWStatistics.h"
SWStatistics swstats;
template <class T>
void Xchg(T& a, T&b)
{
T c = a;
a = b;
b = c;
}
SWStatistics::SWStatistics()
{
frameCount = 0;
}
void SWStatistics::ResetFrame()
{
memset(&thisFrame, 0, sizeof(ThisFrame));
}