commit | f6dd63f131591f406918c1491674570ba9ea2734 | [log] [tgz] |
---|---|---|
author | Keun young Park <keunyoung@google.com> | Wed Feb 23 17:56:37 2022 -0800 |
committer | Keun young Park <keunyoung@google.com> | Wed Feb 23 17:56:37 2022 -0800 |
tree | a90ba9bc4445f94ab30351b2edc4909a089b2bde | |
parent | a704eca3ac2758b932111314875175f8200d5e9e [diff] |
Fix missing core in total load in perfetto_cpu_analysis - When a core is not used at all, it was not added to total CPU capacity. - Go through all online cores and mark them as 0% when they are not used. - Now perfetto_cpu_analysis has -c option as well as selected CPU config should be specified. Bug: 217984934 Test: $ python3 packages/services/Car/tools/cpu_perf/cpu_perf.py -f packages/services/Car/tools/cpu_perf/8155.config -c 6high -o test1 $ python3 packages/services/Car/tools/cpu_perf/perfetto_cpu_analysis.py -f packages/services/Car/tools/cpu_perf/8155.config -c 6high test1.pftrace Change-Id: Id97f1c06f32b10b4822a04850e90946f388b0fac
Source code for Android Automotive OS.
car_product/ - AAOS product car-builtin-lib/ - A helper library for CarService to access hidden framework APIs car-lib/ - Car API car-lib-module/ - Car API module cpp/ - Native services experimental/ - Experimental Car API and services packages/ - Apps and services for cars service/ - Car service module service-builint - Platform builtin component that runs CarService module tests/ - Tests and sample apps tools/ - Helper scripts
Native (C++) code format is required to be compatible with .clang-format file. The formatter is already integrated to repo
tool. To run manually, use:
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.