Ryan Pavlik
|
d6177777e5
|
os: Fix os_nanosleep on Windows.
|
2021-10-15 13:05:18 -05:00 |
|
Ryan Pavlik
|
967efb4a12
|
a/os: SetWaitableTimer wants durations in hundreds of ns.
|
2021-09-20 09:25:31 -05:00 |
|
Ryan Pavlik
|
b3280c5bc1
|
os/time: Small cleanup.
|
2021-03-31 12:02:41 -05:00 |
|
Ryan Pavlik
|
aa3d1c1f6a
|
os: Add os_precise_sleeper.
Mostly to be able to use a timer on Windows.
|
2021-03-31 12:02:41 -05:00 |
|
Ryan Pavlik
|
47bf17a0cc
|
os: Improve comment and prototype for os_nanosleep
|
2021-03-31 12:02:41 -05:00 |
|
Ryan Pavlik
|
0717975853
|
os: Improve timestamp retrieval on Windows.
|
2021-03-31 12:02:41 -05:00 |
|
Ryan Pavlik
|
00915cab0f
|
os: Add caveats to some timespec conversion functions.
|
2021-03-31 12:02:41 -05:00 |
|
Jakob Bornecrantz
|
aa7f922e35
|
os/time: Add a Linux specific way to get the realtime clock (for RealSense)
|
2020-11-09 23:42:13 +00:00 |
|
Jakob Bornecrantz
|
4bbe25148b
|
os/time: Make timespec argument const
|
2020-11-09 23:42:11 +00:00 |
|
Ryan Pavlik
|
7cebdb4763
|
aux/os: More defines to calm clang-tidy.
|
2020-11-09 16:18:00 -06:00 |
|
Milan Jaros
|
367c01f354
|
os/time: Provide time functions for Windows
|
2020-09-18 17:15:33 +01:00 |
|
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 |
|