2014年2月10日
摘要: 一、clock#includeclock_t start,end;start=clock();end=clock();couttime_t start,end;start=time();//time(&start)end=time();coutstruct timespec start,end;//struct timespec {// time_t tv_sec; /* seconds */// long tv_nsec; /* nanoseconds */// };clock_gettime(CLOCK_PROCESS_CPUTIME_ID,&start);clock_ge 阅读全文
posted @ 2014-02-10 16:06 perel 阅读(394) 评论(0) 推荐(0) 编辑