Statistics for Software Approaches to Manage Resource Tradeoffs of Power and Energy Constrained Applications