Can somenone tell me, when I use C++ clock(), i get same value for start and finish.
//the code
start=clock();
my code
finish=clock();
cout<<double(fi nish-start)/CLOCK_PER_SEC;//I get 0 here
//the code
start=clock();
my code
finish=clock();
cout<<double(fi nish-start)/CLOCK_PER_SEC;//I get 0 here
Comment