update get-time-and-memory