摘要: 用到获取系统时间(纳秒)的函数getTimeNs() 包含头文件:ctime(c++)/time.h(c) #include<ctime> long getTimeNs() { struct timespec ts; clock_gettime(CLOCK_REALTIME,&ts); return 阅读全文
posted @ 2020-05-27 23:17 cnwanglu 阅读(7202) 评论(0) 推荐(1) 编辑