[LTP] [PATCH] nanosleep: Use CLOCK_MONOTONIC for elapsed time measurement

Andrea Cervesato andrea.cervesato@suse.com
Tue Mar 31 14:28:57 CEST 2026


> Maybe we can can print a hint that we are falling back to CLOCK_REALTIME
> in case that CLOCK_MONOTNIC is not there and proceed with the test.

Ok, I will also gate the CLOCK_MONOTONIC part in the patch for
clock_settime since it's having the same issue.

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


More information about the ltp mailing list