openmp(1)----计时
摘要:时间是用来评价一个算法或代码的重要指标。 clock_t 为时钟周期数,在并行程序中这种方式不能测量时间。 #include <time.h> clock_t start,finish; start = clock(); finish = clock(); std::cout<<"完成需要 "<<f
阅读全文
posted @ 2020-01-10 10:14
posted @ 2020-01-10 10:14