chrono::steady_clock::time_point t1 = chrono::steady_clock::now();
......
chrono::steady_clock::time_point t2 = chrono::steady_clock::now();
chrono::duration<double> time_used = chrono::duration_cast<chrono::duration<double>>(t2 - t1);
cout << "extract ORB cost = " << time_used.count() << " seconds. " << endl;
标签:point,clock,t2,chrono,steady,c++,time,记录,运行
From: https://www.cnblogs.com/hezexian/p/17284179.html