Reputation: 55
I am trying to use Perf event power/energy-pkg
to measure the energy consumed by the CPU package. I wonder if the number reported by Perf includes all sockets in the system or does it only account for one socket? Here is an example how I use Perf for my use case:
perf stat -e power/energy-pkg/ $program
Upvotes: 2
Views: 125