#include "pipe/p_compiler.h"
-#ifdef __cplusplus
+#ifdef __cplusplus
extern "C" {
#endif
* Get the current time in microseconds from an unknown base.
*/
static INLINE int64_t
-os_time_get(void) {
- return os_time_get_nano() / 1000;
+os_time_get(void)
+{
+ return os_time_get_nano() / 1000;
}
int64_t end,
int64_t curr)
{
- if(start <= end)
+ if (start <= end)
return !(start <= curr && curr < end);
else
return !((start <= curr) || (curr < end));
bool
os_wait_until_zero_abs_timeout(volatile int *var, int64_t timeout);
-#ifdef __cplusplus
+#ifdef __cplusplus
}
#endif