Monado OpenXR Runtime
u_wait.h File Reference

Tiny file to implement precise waiting functions. More...

#include "xrt/xrt_config_os.h"
#include "os/os_time.h"
Include dependency graph for u_wait.h:

Go to the source code of this file.

Macros

#define U_WAIT_MEASURED_SCHEDULER_LATENCY_NS   (uint64_t)(0)
 OS specific tweak to wait time. More...
 

Functions

static void u_wait_until (struct os_precise_sleeper *sleeper, uint64_t until_ns)
 Waits until the given time using the os_precise_sleeper. More...
 

Detailed Description

Tiny file to implement precise waiting functions.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m