YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
Timer.h
浏览该文件的文档.
1 /*
2  © 2012-2013 FrankHB.
3 
4  This file is part of the YSLib project, and may only be used,
5  modified, and distributed under the terms of the YSLib project
6  license, LICENSE.TXT. By continuing to use, modify, or distribute
7  this file you indicate that you have read the license and
8  understand and accept it fully.
9 */
10 
28 #ifndef YCL_INC_Timer_h_
29 #define YCL_INC_Timer_h_ 1
30 
31 #include "YModules.h"
32 #include YFM_YCLib_YCommon
33 
34 namespace platform
35 {
36 
41 YF_API void
42 StartTicks();
43 
50 YF_API std::uint32_t
51 GetTicks();
52 
60 YF_API std::uint64_t
62 
63 } // namespace platform;
64 
65 #endif
66 
YF_API void StartTicks()
开始 tick 计时。
Definition: Timer.cpp:102
#define YF_API
Definition: Platform.h:64
YF_API std::uint64_t GetHighResolutionTicks()
取高精度 tick 数。
Definition: Timer.cpp:157
YF_API std::uint32_t GetTicks()
取 tick 数。
Definition: Timer.cpp:141