When to know whether to walk or run.