#include<iostream>#include<ctime>usingnamespace std;
clock_t time_stt =clock();//Your code here
cout<<"time of normal inverse is "<<1000*(clock()-time_stt)/(double)CLOCKS_PER_SEC<<"ms"<<endl;//单位为毫秒
C++计时代码片段精简自视觉SLAM十四讲-slambook2/ch3/useEigen/eigenMatrix.cpp#include <iostream>#include <ctime>using namespace std;clock_t time_stt = clock();//Your code herecout<<"time of normal inverse is "<<1000*(clock()-time_stt)/(doub