Properly initialize and update virtual time.