Use uptime rather than time to isolate timings from clock changes