00001 00005 #ifndef DTIME_H 00006 #define DTIME_H 00007 00008 #include <sys/time.h> 00009 00010 #ifdef __cplusplus 00011 extern "C" { 00012 #endif 00013 00018 extern double dtime(); 00019 00024 extern void dalarm(double time); 00025 00030 extern void dsleep(double time); 00031 00036 extern struct timeval dtotv(double d); 00037 00042 extern double tvtod(struct timeval tv); 00043 00044 #ifdef __cplusplus 00045 } 00046 #endif 00047 00048 #endif /* DTIME_H */