摘要: 添加头文件 #include <sys/time.h> 测量方法 struct timeval StartTime; struct timeval EndTime; double TimeUse=0; gettimeofday(&StartTime, NULL); //测量开始 //要测量的程序代码 阅读全文
posted @ 2021-03-11 14:31 白菜没我白 阅读(491) 评论(0) 推荐(0) 编辑