#include "project.h" static uint32_t high_tick; #define QUARTER (1UL << 29) #define HALF (1UL << 30) #define THREE_QUARTERS (HALF+QUARTER) #define ONE (~(uint32_t)0) uint64_t abs_extend (uint32_t now) { static int m; uint64_t ret; if (!m) { ret = high_tick; ret <<= 32; ret |= now; if ((now>THREE_QUARTERS) &&( now<=ONE)) { high_tick++; m=1; } } else { if (nowQUARTER) &&( now