in ncrx/nctx.c [59:68]
static uint64_t current_msec(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) { perror("clock_gettime"); exit(1); } return ts.tv_sec * 1000 + ts.tv_nsec / 1000000; }