首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::timespec

Defined in header <ctime>

?

?

struct timespec;

?

(since C++17)

结构,将间隔分解为秒和纳秒。

成员对象

std::time_t tv_sec

whole seconds – >= 0

long tv_nsec

nanoseconds – 0, 999999999

另见

timespec_get (since C++17)

returns the calendar time based on a given time base (function)

tm

calendar time type (class)

代码语言:txt
复制
 ? cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com