commit | 1ed32160dba643e61504b334f45b002198c88254 | [log] [tgz] |
---|---|---|
author | Huang Rui <ray.huang@amd.com> | Thu Aug 27 16:07:38 2015 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Thu Aug 27 07:53:19 2015 -0700 |
tree | 57fd52b4175d960c2c778c78015cd619d8d50fd6 | |
parent | 5aeb5d205e122b70742df94a7d51a3502f1a8277 [diff] |
hwmon: (fam15h_power) Add ratio of Tsample to the PTSC period This patch adds a member (cpu_pwr_sample_ratio) of fam15h_power_data, that represents the ratio of compute unit power accumulator sample period to the PTSC counter period. Tsample: compute unit power accumulator sample period Tref: the performance timestamp counter period PTSC: performance timestamp counter Signed-off-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>