• 忘掉天地
  • 仿佛也想不起自己
bingliaolongBingliaolong  2022-03-28 20:59 Aet 隐藏边栏 |   抢沙发  7 
文章评分 3 次,平均分 5.0

duration

  1. count
    1. 内部计数,不一定是值

time_point

system_clock

  1. now
    1. 获取当前时间

steady_clock

high_resolution_clock

treat_as_floating_point

duration_values

common_type(duration)

函数

duration_cast

time_point_cast

类型

type Representation Period
hours signed integral type of at least 23 bits ratio<3600,1>
minutes signed integral type of at least 29 bits ratio<60,1>
seconds signed integral type of at least 35 bits ratio<1,1>
milliseconds signed integral type of at least 45 bits ratio<1,1000>
microseconds signed integral type of at least 55 bits ratio<1,1000000>
nanoseconds signed integral type of at least 64 bits ratio<1,1000000000>

hours

minutes

seconds

milliseconds

microseconds

nanoseconds

使用

本文为原创文章,版权归所有,欢迎分享本文,转载请保留出处!

bingliaolong
Bingliaolong 关注:0    粉丝:0
Everything will be better.

发表评论

表情 格式 链接 私密 签到
扫一扫二维码分享