use uint64_t for the uptime counter to handle medium+large uptimes