(Minor timer library code cleanup)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4917 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2010-01-21 19:55:01 +00:00
parent 9893122a58
commit 420d2bc502
3 changed files with 20 additions and 15 deletions

View File

@ -20,10 +20,7 @@
#include "Common.h"
#include <string>
#ifdef _WIN32
#include <Windows.h>
#include <mmsystem.h>
#endif
namespace Common
{
class Timer
@ -50,7 +47,9 @@ public:
std::string GetTimeElapsedFormatted() const;
u64 GetTimeElapsed();
public:
static u32 GetTimeMs();
private:
u64 m_LastTime;
u64 m_StartTime;
u64 m_frequency;
@ -59,8 +58,4 @@ public:
} // Namespace Common
#ifdef __GNUC__
u32 timeGetTime();
#endif // GNUC
#endif // _TIMER_H_