“…Prior energy accounting tools can be broadly classified into two categories: tools that directly measure energy using on-board sensors or external instruments [1,2,3,4,5,6]; and tools that model energy based on activity vectors derived from hardware performance counters, kernel event counters, finite state machines, or instruction counters in microbenchmarks [7,8,9,10,11,12,13,14,15,16,17]. All of these tools can associate energy measurements with software contexts via manual instrumentation, context tracing, or profiling.…”