A Hardware-Software Cooperative Approach for Application Energy Profiling Academic Article uri icon