Ryan Pavlik
|
7c47293c52
|
os/time: Implement os_nanosleep for Windows
|
2020-09-18 13:56:34 +01:00 |
|
Christoph Haag
|
a884e24b9a
|
aux: Support waiting more than 0.999... seconds in os_nanosleep
|
2020-09-11 18:52:01 +02:00 |
|
Jakob Bornecrantz
|
ef282c7df2
|
os/time: Add function to convert to a timespec struct
|
2020-06-23 21:31:03 +01:00 |
|
Jakob Bornecrantz
|
48957b97c2
|
os/time: Fix warnings on C++
|
2020-04-16 14:51:08 +01:00 |
|
Jakob Bornecrantz
|
0619190d2b
|
build: Refactor how config defines are handled
With loads of changes from Ryan.
|
2020-03-03 10:33:14 +00:00 |
|
Ryan Pavlik
|
807438bb69
|
os/time: Remove XRT_MAYBE_UNUSED usages.
static inline is sufficient to avoid warnings about unused functions.
|
2020-03-02 14:01:18 -06:00 |
|
Ryan Pavlik
|
31ee6a1966
|
os/time: Documentation.
|
2020-03-02 13:59:06 -06:00 |
|
Ryan Pavlik
|
227e53d030
|
os/time: Clean up comments and ifdefs.
|
2020-03-02 12:24:49 -06:00 |
|
Jakob Bornecrantz
|
d375843b65
|
os/time: Add time getting and conversion functions
For Linux it is based on CLOCK_MONOTONIC.
|
2020-02-27 13:55:57 +00:00 |
|
Drew DeVault
|
c6586cfd1e
|
comp_compositor: use nanosleep instead of usleep
Improves portability
|
2019-09-26 15:05:22 +00:00 |
|