Monado OpenXR Runtime
Macros
os_time.h File Reference

Wrapper around OS native time functions. More...

#include "xrt/xrt_config_os.h"
#include "xrt/xrt_compiler.h"
#include <time.h>
Include dependency graph for os_time.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define XRT_HAVE_TIMESPEC
 
#define XRT_HAVE_TIMEVAL
 

Detailed Description

Wrapper around OS native time functions.

These should be preferred over directly using native OS time functions in potentially-portable code. Additionally, in most cases these are preferred over timepoints from time_state for general usage in drivers, etc.

Author
Drew DeVault sir@c.nosp@m.mpwn.nosp@m..com
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Macro Definition Documentation

◆ XRT_HAVE_TIMESPEC

#define XRT_HAVE_TIMESPEC

◆ XRT_HAVE_TIMEVAL

#define XRT_HAVE_TIMEVAL