using this for C++ now:
#include <time.h>
#include <time.h>
double start = clock();
//Code Here
double time = (clock() - start)/ double(CLOCKS_PER_SEC)*1000; //Time in ms
std::cout << "Execution Time is: \t" << time << "ms" << std::endl;
No comments:
Post a Comment