Text this: A Design-Time Method for Building Cost-Effective Run-Time Power Monitoring.