summaryrefslogtreecommitdiff
path: root/cpustats
AgeCommit message (Collapse)Author
2018-05-04Convert to SoongDan Willemsen
See build/soong/README.md for more information. This effectively moves some of these targets from /system/xbin to /system/bin, as Soong is not supporting xbin. I've attempted to fix and find any external dependencies to these paths. Test: m anrd app-launcher bootctrl.default bootctl cpustats crypto iotop Change-Id: I3eb58d8a260884652b5ee827ac88ece429d76448
2017-10-20Use -Werror in system/extrasChih-Hung Hsieh
* Remove unused variables. * Fix redefined macro warnings. * Fix sign-compare warnings. * Fix 'return false' in main(). * Keep existing warnings to fix later. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ib92ef5297693595fb84ed4f8e61665bda4cee312
2016-12-13Fix clang static analyzer warnings.Manoj Gupta
system/extras/cpustats/cpustats.c:127:61: warning: Assigned value is garbage or undefined [clang-analyzer-core.uninitialized.Assign] system/extras/cpustats/cpustats.c:116:29: warning: Call to 'malloc' has an allocation size of 0 bytes [clang-analyzer-unix.API] Test: Warning no longer appears Change-Id: I770bf73421608c890ecb1c1c538970e358a69199
2016-03-09cpustats: do not die in case a CPU is offlinedThierry Strudel
Change-Id: I05700266f1c7584ff51557b3e559654045379e87
2015-10-02Add NOTICE filesSami Tolvanen
Bug: 24571219 Change-Id: Ib7a4374974c2d0d9225caa1e43d0b78251a36bd2
2015-01-29Add missing includes.Elliott Hughes
Change-Id: Ie3acca064c1bcecb4e0305e61f01ba8cea4abe03
2012-04-03First checkin of cpustatsEric Rowe
This utility is similar to top but with two major differences. 1) It removes the overhead of gathering process/thread stats. 2) It measures the time spent in each frequency for each sample duration. Bug: 6147843 Change-Id: Ie9073470f8cd1778fe902ea6383bef2311e91cf1