Put a console message M code before/after the move you wish to time. Hook up to USB. Use a terminal program (such as YAT for windows) that timestamps each line to the millisecond.

However... that will really tell you when things pass through the planner. You MIGHT need to put a dwell command in several places, and subtract out that time.

----or----

Use a set of microswitches and an Arduino.