Skip to content

Instantly share code, notes, and snippets.

@yhyacinth
Created September 10, 2013 07:17
Show Gist options
  • Save yhyacinth/6506000 to your computer and use it in GitHub Desktop.
Save yhyacinth/6506000 to your computer and use it in GitHub Desktop.
elapsed time
#include <time.h>
clock_t start_time, end_time;
start_time=clock();
end_time=clock();
printf("Time : %f\n", ((double)(end_time-start_time)) / CLOCKS_PER_SEC);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment