use CLOCK_REALTIME_COARSE for D_SUB_SECOND logs if it is available #4660
it's about 8x faster than CLOCK_REALTIME and still accurate to the millisecond