YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部 类 命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 组 页
YSLib::Timers 命名空间参考

类

class  HighResolutionClock
 高精度时钟。 更多...
 
class  Timer
 计时器。 更多...
 

类型定义

using Duration = HighResolutionClock::duration
 高精度时间间隔。 更多...
 
using TimePoint = HighResolutionClock::time_point
 时刻。 更多...
 
using TimeSpan = std::chrono::milliseconds
 低精度时间间隔。 更多...
 

函数

YF_API void Delay (const TimeSpan &)
 阻塞延时。 更多...
 
void Activate (Timer &tmr)
 

类型定义说明

高精度时间间隔。

注解
单位为纳秒。
自从
build 291

在文件 ytimer.h 第 72 行定义.

时刻。

自从
build 291

在文件 ytimer.h 第 78 行定义.

using YSLib::Timers::TimeSpan = typedef std::chrono::milliseconds

低精度时间间隔。

注解
单位为毫秒。
自从
build 291

在文件 ytimer.h 第 85 行定义.

函数说明

void YSLib::Timers::Activate ( Timer &  tmr)
void YSLib::Timers::Delay ( const TimeSpan &  ms)

阻塞延时。

自从
build 291

在文件 ytimer.cpp 第 63 行定义.