]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/power turbostat: show GFXMHz
authorLen Brown <len.brown@intel.com>
Sat, 27 Feb 2016 05:37:54 +0000 (00:37 -0500)
committerDhaval Giani <dhaval.giani@oracle.com>
Mon, 16 Jan 2017 20:11:10 +0000 (15:11 -0500)
commit925219caee635a6943b65f6df1ea3ceccff39775
treeed137d2fc2cdebcce85b32ffcff10035c3b1155e
parent6f04c740777fce693fe8dff3c9a5f6164f090de8
tools/power turbostat: show GFXMHz

Orabug: 24811361

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: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
tools/power/x86/turbostat/turbostat.c