Reads time it takes for commands to take through serial port