Add full CLI support for AIBench perfetto#492
Add full CLI support for AIBench perfetto#492KarlSimonsen wants to merge 1 commit intofacebook:mainfrom
Conversation
Summary:
Add full CLI support for AIBench perfetto
--profile can take two forms of arguments:
1 Simple:
--profile [<type>] ...
For example:
__Simpleperf__:
```
--profile
--profile cpu
```
__Perfetto__:
```
--profile memory battery gpu
```
2 Full support:
--profile <json format>
For example:
```
--profile { "enabled": true" }
--profile { "enabled": true, "profiler": "perfetto", "types": ["memory", "battery"], "options": { "buffer_size_kb": "262144" } }
```
Reviewed By: axitkhurana
Differential Revision: D35759184
fbshipit-source-id: 63bceb169cd86823e160eb5749740dc0a5ab9add
|
This pull request was exported from Phabricator. Differential Revision: D35759184 |
|
Hi @KarlSimonsen! Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention. You currently have a record in our system, but the CLA is no longer valid, and will need to be resubmitted. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
Summary:
Add full CLI support for AIBench perfetto
--profile can take two forms of arguments:
1 Simple:
--profile [] ...
For example:
Simpleperf:
Perfetto:
2 Full support:
--profile
For example:
Reviewed By: axitkhurana
Differential Revision: D35759184