The most important information for measuring engine fuel requirements comes from the Manifold Absolute Pressure (MAP) sensor. Using the pressure and temperature data, the PCM calculates the intake air mass. It is connected to the engine intake manifold and takes readings of the absolute pressure.
Atmospheric pressure is measured both when the engine is started and when driving fully loaded, then the pressure sensor information is adjusted accordingly.