summaryrefslogtreecommitdiffstats
path: root/include/cpustats/ThreadCpuUsage.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix log spam about CPU frequency on one deviceGlenn Kasten2012-05-141-1/+2
| | | | | | | | | | | | Previous kernels have allowed opening the CPU frequency file regardless whether the CPU is up or not. This fixes some log spam on one device with dynamic hot plug CPU feature, which does not allow opening the CPU frequency file if CPU is down. Also, since the file descriptors are global and have long lives, add the close-on-exec flag. Change-Id: Ia14a2b9e20038dfb96a573920176a47a96bd3f5a
* mv libcpustats from frameworks/base to /nativeGlenn Kasten2012-03-261-0/+139
OK to lose history Change-Id: I563fec271e0bc240e4a09a8b9647c7439badd85b