Total distance achieved by copter

From the arducopter bin file how can i extract the total distance its travelled.
What parameter i have to look for?

This was asked just a while ago