The diagnostic function monitors the duration of the combustion strokes by processing the RPM signals.