Answers for "mesure time execution of a program in c"

C
0

execution time of c program

clock_t begin = clock();

/* here, do your time-consuming job */

clock_t end = clock();
double time_spent = (double)(end - begin) / CLOCKS_PER_SEC;
Posted by: Guest on May-20-2021

Code answers related to "mesure time execution of a program in c"

Code answers related to "C"

Browse Popular Code Answers by Language