📄 debugutils.h
字号:
#pragma once
namespace SbjCore
{
namespace Utils
{
namespace Debug
{
class AFX_EXT_CLASS HighResElapsedTimer
{
// Found on CodeProject, no copyright or license attached
// Author: Chen Venkataraman (venkatar@sig.com)
// Date: Wed Dec 6, 2001
public:
HighResElapsedTimer(LPCTSTR, bool bTimeRelease = false);
virtual ~HighResElapsedTimer();
CString GetTime();
private:
CString m_strName;
LARGE_INTEGER m_llCounter;
bool m_bTimeRelease;
private:
static LONGLONG m_llFrequency; // Frequency setting is based hardware clock which doesn't
// does change - so we want to set this only once
private:
HighResElapsedTimer(const HighResElapsedTimer&);
HighResElapsedTimer& operator=(const HighResElapsedTimer&);
};
}
}
}
//*** Modification History ***
// $Log: $
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -