1 #include <time.h> 2 difftime(time_t t1,time_t t0)3 double difftime(time_t t1, time_t t0) 4 { 5 return t1-t0; 6 } 7