Modeling and Analyzing CPU Power and Performance: Metrics, Methods, and Abstractions