📜  c++ 比较时间 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:46.185000             🧑  作者: Mango

代码示例1
#include  
using namespace std::chrono; 

auto start = high_resolution_clock::now(); 
auto stop = high_resolution_clock::now(); 
auto duration = duration_cast(stop - start); 
  
cout << duration.count() << endl;