xenpm: Add option to report average CPU frequency
authorMalcolm Crossley <malcolm.crossley@citrix.com>
Tue, 19 Jan 2016 11:27:56 +0000 (11:27 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 19 Jan 2016 16:16:08 +0000 (16:16 +0000)
commitaa037dc9d3e09850f8a0e4ba9fba8e487f8a64cc
tree3c182491c9d72fca3aa962be5aba47a4fb1f35ee
parent1e72eebd21a5bdb799fa1fbc0eb60c4b58e30af8
xenpm: Add option to report average CPU frequency

The average is calculated over the period of time from the last
xenpm report of the average CPU frequency.

Reporting the average CPU frequency helps confirm the level of turbo
boost being achieved per CPU.

Signed-off-by: Malcolm Crossley <malcolm.crossley@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/misc/xenpm.c