1.用法高精度计算时间的结构体struct timeval。头文件是sys/time.h网上查找的定义是#include "sys/time.h" struct timeval { __time_t tv_sec; /* Seconds. */ __suseconds_t tv_usec; /* Microseconds. */ };tv_sec成员为秒,tv_usec为微秒。1秒=1000000微秒。__time_t和__suseconds_t都为l
问题集
2023-06-14
57 点赞
0 评论
86 浏览