The INS measures acceleration. The first integration of acceleration with respect to time gives speed and the second integration of speed with respect to time gives distance travelled.