a device that can be used to measure the rate of exchange of oxygen and carbon dioxide during energy-acquiring pathways is called a