On 2022-08-15 06:37, Elad Lahav wrote:
+ cat api-pthreads/api-$(os_compat).h >> api.h
I didn't want to go overboard here, so it's just the minimum required for having a single per-OS header with specific definitions.
+#ifndef CLOCK_MONOTONIC_RAW +#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC +#endif
This one wasn't moved to the per-OS header because of the order in which headers are included, which I didn't want to fiddle with. That said, would you be open to changing the ARM64 get_timestamp() to a simple read of the hardware clock? It is architecturally-defined.
--Elad