I am running a command on my OS which outputs thousands of lines, sometimes delaying in the middle for a couple of seconds, before restarting. Is there a way to find the time elapsed, in ms, between these lines of outputs?
A time stamp would work but I would prefer to output the time differences to a file.