drivers: misc: publish fps, cpu load, thread count
authorIlan Aelion <iaelion@nvidia.com>
Fri, 26 Oct 2012 16:44:58 +0000 (10:44 -0600)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:56:58 +0000 (12:56 -0700)
commit0f96f06c0e2e1116c79f74ba6e0ea08d709ed27f
treec145606eef0613405dc1763d00df27443b97791d
parent1983c479035d82600c0e37def951b195e7dc45a3
drivers: misc: publish fps, cpu load, thread count

adapted cpufreq_interactive load estimation and averaging of the
number of runnable threads to a misc device that will write the
current cpu id, load and nr_runnable_threads for each cpu to a sysfs
node. Intended to provide an accurate cpu load reading to user space
scaling controllers. In addition the momentary frame rate is written
to /d/fps.

Bug 1161410
Bug 1164121

Change-Id: I041e230463fa7d4a3c83e4a2ab2ce199f9a5d8ba
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-on: http://git-master/r/165089
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/cpuload.c [new file with mode: 0644]
drivers/misc/tegra-throughput.c