Add a GetCumulativeCPUUsage function to ProcessMetrics.
This also makes the GetPlatformIndependentCPUUsage function generic, except for a couple of unsupported platforms that seem to retrieve fractional CPU utilization directly from kernel. Bug: 755840 Change-Id: I8254a1f1371d7d35d0eeec27f6f4efda03b0dbf9 Reviewed-on: https://chromium-review.googlesource.com/1058079Reviewed-by:Daniel Cheng <dcheng@chromium.org> Commit-Queue: Sigurður Ásgeirsson <siggi@chromium.org> Cr-Commit-Position: refs/heads/master@{#559110}
Showing
Please register or sign in to comment