A barometer measures