struct timeval和gettimeofday
struct timeval和gettimeofday()struct timeval结构体在time.h中的定义为:struct timeval { time_t tv_sec; /* Seconds. */ suseconds_t tv_usec; /* Microseconds. */ }; 其中,tv_sec为Epoch到创建struct timeval时的秒数,tv_usec为微秒...