c++ compare time code example
Example: c++ compare time
#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;