From 57a23397793eeb83e093c12169870a906ff0e5c3 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 9 May 2023 11:18:23 +0200 Subject: doc/user/timestamps: document which clock is used Document that all timestamps are given in the CLOCK_MONOTONIC domain. Signed-off-by: Simon Ser --- doc/user/timestamps.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/user/timestamps.rst b/doc/user/timestamps.rst index 4c450073..596beb83 100644 --- a/doc/user/timestamps.rst +++ b/doc/user/timestamps.rst @@ -42,3 +42,5 @@ Once the timeout expires at t4, libinput generates an event of Thus, the caller gets events with timestamps in the order t3, t1, t2, despite t3 > t2 > t1. + +libinput timestamps use **CLOCK_MONOTONIC**. -- cgit v1.2.1