linux clock_gettime 的使用方法
摘要:
#include<stdio.h>#include <time.h>#include <sys/time.h>#include <unistd.h> #define MAKE_NS(S,N) (S*1000000000+N) //将timespec中的时间转换成纳秒计数 void test_time 阅读全文
posted @ 2024-10-01 17:15 zxddesk 阅读(178) 评论(0) 推荐(0)
浙公网安备 33010602011771号