summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/mim.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-14 11:50:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-14 11:50:55 +0000
commitb52e0fc9d3e21b7f4d649ace51beca9e61692818 (patch)
tree697540e856b0f8d4daf0c259ab57c6061cbe9678 /plugins/TabSRMM/src/mim.h
parent4d3d9100ecba8aec804b1edd2e077f8acb533b3b (diff)
slack removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@5686 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/mim.h')
-rw-r--r--plugins/TabSRMM/src/mim.h16
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 */