Shankhoneer Chakrovarty | c811060 | 2018-02-09 16:14:08 -0800 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2018 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | <!-- Metric collectors for longevity runs. --> |
| 17 | <configuration description="Metric collectors for longevity runs."> |
| 18 | <metrics_collector class="com.android.tradefed.device.metric.ScheduleMultipleDeviceMetricCollector"> |
| 19 | <!-- Collect fragmentation info every 2 minutes. --> |
| 20 | <option name="metric-collection-intervals" key="fragmentation" value="120000" /> |
| 21 | <option name="metric-collector-command-classes" value="com.android.tradefed.device.metric.BuddyInfoMetricCollector" /> |
| 22 | |
| 23 | <!-- Collect compact memory dump every 3 minutes. --> |
| 24 | <option name="metric-collection-intervals" key="compact-meminfo" value="180000" /> |
| 25 | <option name="metric-collector-command-classes" value="com.android.tradefed.device.metric.MemInfoMetricCollector" /> |
| 26 | |
| 27 | <!-- Collect graphicsstats dump every 4 minutes. --> |
| 28 | <option name="metric-collection-intervals" key="jank" value="240000" /> |
| 29 | <option name="metric-collector-command-classes" value="com.android.tradefed.device.metric.GfxInfoMetricCollector" /> |
| 30 | |
| 31 | <!-- Add more if there are requests. --> |
| 32 | </metrics_collector> |
| 33 | </configuration> |