tracking down insane socket tester bugs on windoze, where the main culprit so far...
[feisty_meow.git] / nucleus / library / timely / time_stamp.h
index 691660d852ec9162c857bd51bea4b021d2144479..0b2dd00025394f20192bb4ba832234c526194481 100644 (file)
@@ -37,6 +37,8 @@ namespace timely {
 class time_stamp : public virtual basis::orderable
 {
 public:
+  DEFINE_CLASS_NAME("time_stamp");
+
   typedef double time_representation;
     //!< the representation of time for this universe, measured in milliseconds.
 
@@ -90,7 +92,7 @@ public:
 
   // helper functions for using the OS's time support.
 
-  static timeval fill_timeval_ms(int milliseconds);
+  static void fill_timeval_ms(timeval &time_point, int milliseconds);
     //!< returns a timeval system object that represents the "milliseconds".
     /*!< if "milliseconds" is zero, then the returned timeval will
     represent zero time passing (rather than infinite duration as some