mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
(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:
@ -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_
|
||||
|
Reference in New Issue
Block a user