std::timespec
科技促进发展:
Defined in header | | |
---|---|---|
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) |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。