1 | #ifndef TIMEDIFF_H 2 | #define TIMEDIFF_H 3 | 4 | #include <sys/time.h> 5 | 6 | typedef struct timeval ut_timer_t; 7 | 8 | void UT_timeget(ut_timer_t *timer); 9 | float UT_timediff( ut_timer_t *begintime, ut_timer_t *endtime ); 10 | 11 | #endif