summaryrefslogtreecommitdiffstats
path: root/include/log/log_read.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/log/log_read.h')
-rw-r--r--include/log/log_read.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/log/log_read.h b/include/log/log_read.h
index bd9de12..54d71a4 100644
--- a/include/log/log_read.h
+++ b/include/log/log_read.h
@@ -33,6 +33,9 @@ public:
uint32_t tv_sec; // good to Feb 5 2106
uint32_t tv_nsec;
+ static const uint32_t tv_sec_max = 0xFFFFFFFFUL;
+ static const uint32_t tv_nsec_max = 999999999UL;
+
log_time(const timespec &T)
{
tv_sec = T.tv_sec;