Add millisecond accurate timings to test apps