c++ 版怎么获取时间戳毫秒级的

Author: lanchaiye, Created: 2017-12-11 22:18:54, Updated:

clock() 不使用这个。这个计算不准软件休眠是不统计时间的, time(NULL)这个只精确到秒,还有别的方法吗。


More

小小梦 - ## 文档已经更新: https://dn-filebox.qbox.me/1bf9f2e94b1ac2682a39c59a43ae66f03d35e14a.png ### Unix() 只有 C++ 支持 该接口。 ### 其语言 不支持 该接口。

Zero Sorry, 忘写API里了. 纳秒级的最精确 ``` uint64_t UnixNano(); uint64_t Unix(); ```