Glenn Kasten f57e2bceb9 AudioFlinger playback thread CPU measurement in Hz
Log statistics on CPU usage in Hz in addition to wall clock time

Use CPU statistics for all playback threads, not just MIXER
(but they are disabled by default by a compile-time debug macro).

ThreadCpuUsage library:
 - Move statistics out of the library and leave that up to the caller
 - Add API to determine a CPU's frequency

Change-Id: Ia1011123146e641fcf210ef26e78ae2b4d3b64ad
2012-03-14 16:03:01 -07:00
..

This is a static library of CPU usage statistics, originally written
for audio but most are not actually specific to audio.

Requirements to be here:
 * should be related to CPU usage statistics
 * should be portable to host; avoid Android OS dependencies without a conditional