diff options
Diffstat (limited to 'base/time.h')
-rw-r--r-- | base/time.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/time.h b/base/time.h index 33ab227..538659d 100644 --- a/base/time.h +++ b/base/time.h @@ -62,6 +62,10 @@ class TimeDelta { return delta_; } +#if defined(OS_POSIX) + struct timespec ToTimeSpec() const; +#endif + // Returns the time delta in some unit. The F versions return a floating // point value, the "regular" versions return a rounded-down value. // |