summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/s5p-fimc/fimc-mdevice.c
diff options
context:
space:
mode:
authorLen Brown2012-06-14 03:31:46 +0200
committerLen Brown2012-07-20 04:26:33 +0200
commitc3ae331d1c2fe25edfbece73fda0bb312445b636 (patch)
treef8b0073148c028820bca3d5a0629f094cb7e6f44 /drivers/media/video/s5p-fimc/fimc-mdevice.c
parenttools/power: turbostat v2 - re-write for efficiency (diff)
downloadkernel-qcow2-linux-c3ae331d1c2fe25edfbece73fda0bb312445b636.tar.gz
kernel-qcow2-linux-c3ae331d1c2fe25edfbece73fda0bb312445b636.tar.xz
kernel-qcow2-linux-c3ae331d1c2fe25edfbece73fda0bb312445b636.zip
tools/power: turbostat: fix large c1% issue
Under some conditions, c1% was displayed as very large number, much higher than 100%. c1% is not measured, it is derived as "that, which is left over" from other counters. However, the other counters are not collected atomically, and so it is possible for c1% to be calaculagted as a small negative number -- displayed as very large positive. There was a check for mperf vs tsc for this already, but it needed to also include the other counters that are used to calculate c1. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/media/video/s5p-fimc/fimc-mdevice.c')
0 files changed, 0 insertions, 0 deletions