|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
时钟类型 更多...
#include "NeForce/core/time/time_point.hpp"类 | |
| struct | neforce::system_clock |
| 系统时钟 更多... | |
| struct | neforce::steady_clock |
| 稳定时钟 更多... | |
函数 | |
| milliseconds | neforce::relative_time (int64_t sec, int64_t nsec, bool is_monotonic=false) noexcept |
| 将绝对时间戳转换为相对延迟毫秒数 | |
| template<typename Clock, typename Dur> | |
| void | neforce::this_thread::sleep_until (const time_point< Clock, Dur > &time) |
| 使当前线程睡眠直到指定时间点 | |
变量 | |
| template<typename T> | |
| constexpr bool | neforce::is_clock_v = is_clock<T>::value |
| is_clock的便捷变量模板 | |