commit | a0d4de1bfcd40a43435a0cbb2d558b0a1e94c0b9 | [log] [tgz] |
---|---|---|
author | Rui Qiu <ruiqiu@google.com> | Wed Dec 15 14:44:54 2021 -0800 |
committer | Zhaoming Yin <zhaomingyin@google.com> | Wed Feb 02 02:59:33 2022 +0000 |
tree | 005f1df38cba56369fa636a55e3f5f478fdbcfb6 | |
parent | 41409b0c577264ff568c811bf82c888eb8affaa0 [diff] |
Add traces to CarTelemtryService for performance analysis Traces are added to CarTelememtryManager APIs, script execution duration, stats manager API invocation, and converter. Also fixes a bug to remove metrics config upon receiving script error report. Bug: 210729458 Bug: 207175350 Test: atest CarServiceUnitTest Test: atest CarServiceTest:CarTelemetryManagerTest Change-Id: I99450485779a9535152f10edf11d6a63fb8b04a1 Merged-In: I99450485779a9535152f10edf11d6a63fb8b04a1 (cherry picked from commit a0997c4fb25c3c8168ec987c828e8eb3bb04b336)
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.