Hamidreza Ramezani
Hamidreza Ramezani

Reputation: 55

Perf power consumption for a multi-socket system

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

Answers (0)

Related Questions