diff options
Diffstat (limited to 'logd/LogKlog.h')
| -rw-r--r-- | logd/LogKlog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/logd/LogKlog.h b/logd/LogKlog.h index 469affdd0..3c8cc8789 100644 --- a/logd/LogKlog.h +++ b/logd/LogKlog.h @@ -43,7 +43,9 @@ public: int log(const char *buf, size_t len); void synchronize(const char *buf, size_t len); + bool isMonotonic() { return logbuf->isMonotonic(); } static void convertMonotonicToReal(log_time &real) { real += correction; } + static void convertRealToMonotonic(log_time &real) { real -= correction; } protected: void sniffTime(log_time &now, const char **buf, size_t len, bool reverse); |
