summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2016-04-06 09:44:12 +0200
committerGuenter Roeck <linux@roeck-us.net>2016-04-19 15:32:35 +0200
commitcdb9e110b10a08b7e1371356c2c03c73eb4f93d5 (patch)
tree08efb905712d3470841a4ec0488221e9e08e49ab /drivers/extcon
parenthwmon: (fam15h_power) Add compute unit accumulated power (diff)
downloadlinux-cdb9e110b10a08b7e1371356c2c03c73eb4f93d5.tar.xz
linux-cdb9e110b10a08b7e1371356c2c03c73eb4f93d5.zip
hwmon: (fam15h_power) Add ptsc counter value for accumulated power
PTSC is the performance timestamp counter value in a cpu core and the cores in one compute unit have the fixed frequency. So it picks up the performance timestamp counter value of the first core per compute unit to measure the interval for average power per compute unit. Signed-off-by: Huang Rui <ray.huang@amd.com> Cc: Borislav Petkov <bp@alien8.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions