Expand|Select|Wrap|Line Numbers
- #include<stdio.h>
- #include"time.h"
- int main()
- {
- clock_t start,end;
- double value;
- start=clock();
- /*
- my proj code
- */
- end=clock();
- value=(end-start)/(double)CLOCKS_PER_SEC;
- printf("the total time is %g",value);
- }
and give me correct code..i want to calculate total execution time of this code...pls help me to complete my proj..