logd: wait for timeout via CLOCK_MONOTONIC
There are well known issues with CLOCK_REALTIME jumping drastically.
Test: --wrap works successfully
Change-Id: I5676274783ac9aa9374d2b9254e0109d883cc5a8
diff --git a/logd/LogTimes.h b/logd/LogTimes.h
index 9f6f203..49b2d9d 100644
--- a/logd/LogTimes.h
+++ b/logd/LogTimes.h
@@ -56,9 +56,8 @@
SocketClient* mClient;
log_time mStart;
- struct timespec mTimeout;
+ struct timespec mTimeout; // CLOCK_MONOTONIC based timeout used for log wrapping.
const bool mNonBlock;
- const log_time mEnd; // only relevant if mNonBlock
// Protect List manipulations
static void wrlock(void) {