YSTest: Timer.h 源文件

YSTest PreAlpha_b700_20160611 The YSLib Test Project

- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件

- 文件列表
- 文件成员

Timer.h
浏览该文件的文档.
1 /*
2 © 2012-2014 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
43 YF_API std::uint32_t
44 GetTicks() ynothrow;
45
52 YF_API std::uint64_t
53 GetHighResolutionTicks() ynothrow;
54
55 } // namespace platform;
56
57 #endif
58
platform
默认平台命名空间。
Definition: Container.h:47
std
Definition: memory.hpp:1100
platform::ynothrow
const _tString &path ynothrow
Definition: YCLib/FileSystem.h:303
platform::GetHighResolutionTicks
YF_API std::uint64_t GetHighResolutionTicks() ynothrow
取高精度 tick 数。
Definition: Timer.cpp:88
YModules.h
platform::GetTicks
YF_API std::uint32_t GetTicks() ynothrow
取 tick 数。
Definition: Timer.cpp:76
YF_API
#define YF_API
Definition: Platform.h:56