Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ compare time

#include <chrono> 
using namespace std::chrono; 

auto start = high_resolution_clock::now(); 
auto stop = high_resolution_clock::now(); 
auto duration = duration_cast<microseconds>(stop - start); 
  
cout << duration.count() << endl; 
 
PREVIOUS NEXT
Tagged: #compare #time
ADD COMMENT
Topic
Name
8+6 =