- /**
- Returns the raw number stored inside the TimeDelta. This should only be used
- for serialization and the result should not be interpreted in any way.
- */
- int64_t raw() const { return usec; }
-
-#ifndef WIN32
- /**
- Fills in a timespec struct. To get a meaningful scalar value from the
- TimeDelta, divide with one of the values in units.h.
- */
- void fill_timespec(timespec &ts) const { ts.tv_sec=usec/1000000; ts.tv_nsec=(usec%1000000)*1000; }
-#endif
+ /** Returns the raw number stored inside the TimeDelta. This should only be used
+ for serialization and the result should not be interpreted in any way. */
+ RawTime raw() const { return usec; }