Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <time.h> //Ne pas oublier d'inclure le fichier time.h
- int main()
- {
- clock_t start = clock();
- // Execuatable code
- clock_t stop = clock();
- double elapsed = (double)(stop - start) * 1000.0 / CLOCKS_PER_SEC;
- printf("Time elapsed in ms: %f \n", elapsed);
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement