#include <time.h>
t0 = ((float)clock())/CLOCKS_PER_SEC;
t1 = ((float)clock())/CLOCKS_PER_SEC;
printf("%f", t1-t0);