diff options
Diffstat (limited to 'plugins/TabSRMM/src/mim.h')
-rw-r--r-- | plugins/TabSRMM/src/mim.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/plugins/TabSRMM/src/mim.h b/plugins/TabSRMM/src/mim.h index b4bde5e57b..8c3f34828c 100644 --- a/plugins/TabSRMM/src/mim.h +++ b/plugins/TabSRMM/src/mim.h @@ -158,8 +158,7 @@ public: void startTimer();
void stopTimer(const char *szMsg = 0);
- void timerMsg(const char *szMsg);
-
+
__forceinline __int64 getTimerStart() const { return m_tStart; }
__forceinline __int64 getTimerStop() const { return m_tStop; }
__forceinline __int64 getTicks() const { return m_tStop - m_tStart; }
@@ -274,19 +273,6 @@ private: static TCHAR m_userDir[MAX_PATH + 2];
};
-inline void CMimAPI::startTimer()
-{
- ::QueryPerformanceCounter((LARGE_INTEGER *)&m_tStart);
-}
-
-inline void CMimAPI::stopTimer(const char *szMsg)
-{
- ::QueryPerformanceCounter((LARGE_INTEGER *)&m_tStop);
-
- if (szMsg)
- timerMsg(szMsg);
-}
-
extern CMimAPI M;
#endif /* __MIM_H */
|