Meassure time ellapsed between to points in time or how much it takes a function to finish