The CKP sensor detects crankshaft speed, and is used by the PCM to determine ignition timing, timing for the fuel injection of each cylinder, and engine misfire detection.
Fig 1: Identifying Crankshaft Position (CKP) Sensor Terminal, O-Ring And Magnet