commit | d9981a62e43f503e9d6fd5edf678ce81651a590b | [log] [tgz] |
---|---|---|
author | Lakshman Annadorai <lakshmana@google.com> | Tue Sep 14 11:39:28 2021 -0700 |
committer | Lakshman Annadorai <lakshmana@google.com> | Mon Sep 20 15:45:01 2021 -0700 |
tree | 33a4a62c51893258ee902281ea500c477a4cb84e | |
parent | f37bcd8aaf1e7c1ee4a8a872dda5fdf31f6adcd5 [diff] |
Update WatchdogPerfService to use UidStatsCollector. - WatchdogPerfService triggers the performance data collection and processing. Update this class to use UidStatsCollector instead of directly using process or I/O stats collectors. - Mark const methods with the const keyword. Test: atest libwatchdog_test Bug: 199782126 Change-Id: I79e3c5d466657ff9589b8bbb9606ccb496c8c76a
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.