
Metrics collection only needs to discover a few adapters on the system, instead of all of the adapters displayed in about://gpu. This CL makes it so we return early after metrics collection and avoid finding more adapters. Discovering all adapters may run into GPU watchdog hangs on some devices. Bug: 1465064, 1467747 Change-Id: Ic59f804965bafffedb451db43d4d14de20d3fb0d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4721168 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Maggie Chen <magchen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1175780}