Added timeDomain argument to Performance.enable() method.
This eliminates questionable practice of switching timeDomain while performance metrics collection is enabled by allowing us to remove Performance.setTimeDomain() method. timeDomain argument is optional and has default value of 'timeTicks' Bug: 1056306 Change-Id: I085bb5939d04eba65f3f6cf07f6a4d8f94fa32a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076427 Commit-Queue: Peter Kvitek <kvitekp@chromium.org> Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Reviewed-by:
Dmitry Gozman <dgozman@chromium.org> Reviewed-by:
Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#745988}
Showing
Please register or sign in to comment