2 * $RCSfile: lib_time.h,v $
9 #define __LIB_TIME_H_ 1
13 #endif /* __cplusplus */
15 #define TV_INT_MAX_SEC 2146 // ( 2^31 - 1 ) / 1000000
17 #define TV_TOO_BIG (-2)
18 #define TV_INVALID (-3)
21 void time_substract_timeval (struct timeval *t2, struct timeval *t1, struct timeval *td);
22 float time_get_time_ms (struct timeval *tv);
23 int time_get_time_usec (struct timeval *tv);
28 #endif /* __cplusplus */
33 #endif /* __LIB_TIME_H_ */