Delay the first watchdog histogram to the first watchdog timeout.
GPU.WatchdogThread.Event(kGpuWatchdogStart) was added too early (eg. watchdog creation time) that it couldn't be persistent. This histogram data was lost after crash or browser exit. Now delay the recording of kGpuWatchdogStart until the first OnWatchdogTimeout() to ensure this metric is created in persistent memory. Bug: 988344, 949839 Change-Id: I8829d31209511d34220eb17a4f39017929d7e0a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929867 Commit-Queue: Maggie Chen <magchen@chromium.org> Reviewed-by:Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#718462}
Showing
Please register or sign in to comment