摘要: 作用 clock_gettime是基于Linux C语言的时间函数,他可以用于计算精度和纳秒。 //头文件 #include <time.h> //函数原型 int clock_gettime( clockid_t clock_id,struct timespec * tp ); // timesp 阅读全文
posted @ 2022-05-20 23:10 慕斯p 阅读(1339) 评论(0) 推荐(0)