diff --git a/CHANGELOG.md b/CHANGELOG.md index a79b2a4..a9f57ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +- MSRV is now 1.59.0. ## [v0.5.1] - 2021-11-22 diff --git a/src/lib.rs b/src/lib.rs index 4ce9dbc..dd3461f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -920,8 +920,10 @@ impl LineEvent { /// in an interrupt handler so it should be very accurate. /// /// The nanosecond timestamp value should are captured - /// using the `CLOCK_REALTIME` offsets in the kernel and - /// should be compared against `CLOCK_REALTIME` values. + /// using the `CLOCK_MONOTONIC` offsets in the kernel and + /// should be compared against `CLOCK_MONOTONIC` values. + /// Note that kernel versions prior to 5.7 used + /// `CLOCK_REALTIME` offsets instead. pub fn timestamp(&self) -> u64 { self.0.timestamp }