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
61
GetHighResolutionTicks
();
62
63
}
// namespace platform;
64
65
#endif
66
platform::StartTicks
YF_API void StartTicks()
开始 tick 计时。
Definition:
Timer.cpp:102
YModules.h
YF_API
#define YF_API
Definition:
Platform.h:64
platform::GetHighResolutionTicks
YF_API std::uint64_t GetHighResolutionTicks()
取高精度 tick 数。
Definition:
Timer.cpp:157
platform::GetTicks
YF_API std::uint32_t GetTicks()
取 tick 数。
Definition:
Timer.cpp:141
YFramework
include
YCLib
Timer.h
生成于 2014年 五月 30日 星期五 00:14:51 , 为 YSTest使用
1.8.7