Answers for "como medir tiempo de ejecucion cpp"

C++
1

como medir tiempo de ejecucion cpp

#include <iostream>
#include <ctime> 
 
unsigned t0, t1;
 
t0=clock()
// Code to execute
t1 = clock();
 
double time = (double(t1-t0)/CLOCKS_PER_SEC);
cout << "Execution Time: " << time << endl;
Posted by: Guest on July-05-2021

Code answers related to "como medir tiempo de ejecucion cpp"

Browse Popular Code Answers by Language