OSDN Git Service

Make CPU frequency statistics optional
authorGlenn Kasten <gkasten@google.com>
Wed, 13 Jun 2012 21:58:49 +0000 (14:58 -0700)
committerGlenn Kasten <gkasten@google.com>
Fri, 15 Jun 2012 00:49:31 +0000 (17:49 -0700)
commit0a14c4ce1a41bc09eb7855fa531a3af629a69139
treedfde5cdadeea7bbbdb8e50477ca35ac4768693f0
parent362ebcbf100f7fccd37551c77e67c4faa7241b63
Make CPU frequency statistics optional

Certain CPUs with dynamic cluster swapping and hotplug
don't report CPU frequency accurately.  The file descriptors
used to read the frequency become stale and report bogus data.
So make this feature a build time option for debugging only.
This will also improve performance of the fast mixer loop.

Change-Id: I602f81ec3281a37992769208be08084ed1469e8c
services/audioflinger/Android.mk
services/audioflinger/FastMixer.cpp
services/audioflinger/FastMixer.h