don't men-on all those NTP kludges and Erlang monotonic -me implementa-on complexi-es for maintaining the monotonic increase characteris-cs of the internal -me measurement. Thank you. Kenji Rikitake / Kichijoji.pm 19 4
Sierra 10.12 SDK • clock_nanosleep(): s6ll undefined • So I need to build my own equivalent func6on to subs6tute clock_nanosleep() • macOS uses mach_absolute_time(), mach_wait_until(), mach_timebase_info(), etc., defined in <mach/mach_time.h> Kenji Rikitake / Kichijoji.pm 19 6
so:ware • ADS-B: See FlightRadar24, FlightAware, etc. • When dump1090 retrieves radiowave signals from a recorded file, it uses clock_gettime() and clock_nanosleep() Kenji Rikitake / Kichijoji.pm 19 7
1 #ifdef TIME_HIRES_CLOCK_NANOSLEEP_EMULATION static int th_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp) { if (darwin_time_init()) { switch (clock_id) { case CLOCK_REALTIME: case CLOCK_MONOTONIC: // Refer to the original code for the further information 1 h$ps:/ /metacpan.org/source/ATOOMIC/Time-HiRes-1.9760/HiRes.xs Kenji Rikitake / Kichijoji.pm 19 11
by dump1090 --ifile test.bin • Worked the same as in Linux 2 h$ps:/ /github.com/jj1bdx/dump1090/commit/ba0b63ee1eab28e42c61d9005eadd036503d2bd7 Kenji Rikitake / Kichijoji.pm 19 12