From wikipedia...
An engine control unit (ECU), also known as power-train control module (PCM), or engine control module (ECM) is a type of electronic control unit that determines the amount of fuel, ignition timing and other parameters an internal combustion engine needs to keep running. It does this by reading values from multidimensional maps which contain values calculated by sensor devices monitoring the engine.
Peccavi, February 2010