--- gvpe/src/iom.h 2004/11/12 10:23:33 1.24 +++ gvpe/src/iom.h 2004/12/15 02:59:55 1.26 @@ -43,9 +43,6 @@ #ifndef IOM_SIG # define IOM_SIG 0 #endif -#ifndef IOM_ACCURACY -# define IOM_ACCURACY 0.001 // start timers at most this much earlier (can be 0) -#endif typedef double tstamp; extern tstamp NOW; @@ -89,6 +86,14 @@ static void unreg (watcher &w, io_manager_vec &queue); public: +#if IOM_TIME + // fetch time only + static tstamp now (); + + // set NOW + static void set_now (); +#endif + // register a watcher #if IOM_IO static void reg (io_watcher &w); static void unreg (io_watcher &w);