RLib  5.7
RLib - an opensource, lightweight and multi-platform framework for cpp programming
System::Timer Class Reference

提供一种计算代码执行时间的类 More...

Public Member Functions

RLIB_INLINE void BeginTimer ()
 开始计时 More...
 
RLIB_INLINE void EndTimer ()
 停止计时 More...
 
RLIB_INLINE LONGLONG GetTimeSpan ()
 获取计时差值 More...
 
RLIB_INLINE double GetDoubleTimeSpan ()
 获取双精度计时差值 More...
 
RLIB_INLINE String ToString ()
 将当前 Timer 对象的值(double)转换为其等效的字符串表示形式 More...
 

Public Attributes

LARGE_INTEGER m_frequency
 
LARGE_INTEGER m_start_counter
 
LARGE_INTEGER m_end_counter
 
 RLIB_DECLARE_DYNCREATE
 

Detailed Description

提供一种计算代码执行时间的类

Member Function Documentation

RLIB_INLINE void System::Timer::BeginTimer ( )
inline

开始计时

RLIB_INLINE void System::Timer::EndTimer ( )
inline

停止计时

RLIB_INLINE double System::Timer::GetDoubleTimeSpan ( )
inline

获取双精度计时差值

RLIB_INLINE LONGLONG System::Timer::GetTimeSpan ( )
inline

获取计时差值

RLIB_INLINE String System::Timer::ToString ( )
inline

将当前 Timer 对象的值(double)转换为其等效的字符串表示形式


The documentation for this class was generated from the following file: