Linux系统C语言计时

#include <stdio.h> #include <sys/time.h> #include <math.h> #include <time.h> void do_func(){ int k; for(int i=0;i<1000;i++) for(int j=0;j<1000;j++) k=i+j; } //int gettimeo
相关文章
相关标签/搜索