how is dog speed measured