mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-24 10:00:08 +01:00
We can rely on CLOCK_MONOTONIC and CLOCK_REALTIME to be different at any time. However, this does not apply to the ms/us/ns parts of the current time. Both may be in sync regarding the current micro-seconds state. So remove the wrong clock us-comparison. I was able to trigger this on my machine. Chances that both are in sync are very low so I assume my RTC only provides low granularity and thus both clocks are sync during boot for higher granularity. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile.am | ||
| test-common-uinput.c | ||
| test-common-uinput.h | ||
| test-common.c | ||
| test-common.h | ||
| test-event-names.c | ||
| test-int-queue.c | ||
| test-libevdev-events.c | ||
| test-libevdev-has-event.c | ||
| test-libevdev-init.c | ||
| test-main.c | ||
| test-uinput.c | ||