Cast a wide net for this review since rwatson introduced them, but others have touched adjacent code
Linux does not have a CLOCK_UPTIME_COARSE, so I didn't create an alias for CLOCK_UPTIME_FAST.
However, it does have CLOCK_BOOTTIME instead of CLOCK_UPTIME, so I did that too.