计算算法的运行时间,精确到us(c、window、vs2019)
#include<stdio.h>#include <windows.h>#include <iostream>#include <thread>#include<ctime>//计时部分初始化double run_time;_LARGE_INTEGER time_start; //开始时间_LARGE_INTEGER time_over; //结束时间double dqFreq; //计时器频率LARGE_IN
原创
2022-02-23 18:51:11 ·
543 阅读 ·
0 评论