summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-05-09 11:18:23 +0200
committerSimon Ser <contact@emersion.fr>2023-05-09 11:18:23 +0200
commit57a23397793eeb83e093c12169870a906ff0e5c3 (patch)
treeb6d04bcfc5d6fb47234e13755945711ee35539f8
parentd3481c88072d0a9713939d0eb0fb83478a032186 (diff)
downloadlibinput-57a23397793eeb83e093c12169870a906ff0e5c3.tar.gz
doc/user/timestamps: document which clock is usedHEADmain
Document that all timestamps are given in the CLOCK_MONOTONIC domain. Signed-off-by: Simon Ser <contact@emersion.fr>
-rw-r--r--doc/user/timestamps.rst2
1 files changed, 2 insertions, 0 deletions
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**.