change latency calculator to use real seconds instead of emu time