]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
tools/power turbostat: show GFXMHz
authorLen Brown <len.brown@intel.com>
Sat, 27 Feb 2016 05:37:54 +0000 (00:37 -0500)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Aug 2016 16:25:00 +0000 (10:25 -0600)
commit1f2f8e71aa11213f4bed2f81224d4f7386bcf95b
tree05cb4a3becdd9c7495a50f579ab66cece9c95217
parent51dc5c029e5352928a1e5083b1f175b5c008a84b
tools/power turbostat: show GFXMHz

BugLink: http://bugs.launchpad.net/bugs/1591802
Under the column "GFXMHz", show a snapshot of this attribute:
/sys/class/graphics/fb0/device/drm/card0/gt_cur_freq_mhz

This is an instantaneous snapshot of what sysfs presents
at the end of the measurement interval.  turbostat does
not average or otherwise perform any math on this value.

Signed-off-by: Len Brown <len.brown@intel.com>
(cherry picked from commit 27d47356b6dfa92042a17a0b474f08910d4c8e8f)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Kamal Mostafa <kamal@canonical.com>
tools/power/x86/turbostat/turbostat.c