Should drivers pay by the mile instead of the gallon?

Options to measure distance traveled range from regular odometer readings to GPS-enabled tracking that would determine where and when travel occurred. That would be useful if the government wants to charge higher rates during peak rush hours, for example, a concept already used to some extent on highways with electronic tolls.