Age | Commit message (Collapse) | Author |
|
* 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
|
|
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
|
|
Change-Id: I05700266f1c7584ff51557b3e559654045379e87
|
|
Change-Id: Ie3acca064c1bcecb4e0305e61f01ba8cea4abe03
|
|
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
|