摘要: C++ 两种获取时间的方式 1. 使用 include 下面的 gettimeofday函数 如果需要毫秒,则 return (time.tv_sec 1000 + time.tv_usec/1000) 2. 使用 include 下面的 chrono库 // 获取微秒 如果需要的是毫秒,则 ret 阅读全文
posted @ 2018-03-28 12:53 Dai Hanlong 阅读(1547) 评论(0) 推荐(0) 编辑