[Telemetry] Fix idle wakeup reporting in the face of dead processes
Telemetry does not account for process death when computing deltas of various process statistics over a browser run. CPU stats are currently stored in a dictionary of POD types aggregated by process type which gives no room for separating dead processes over a run. Ultimately the goal is to report CPU stats in the timeline on a per-process basis. Towards this goal and to fix counting of dead processes, this CL adds an IdleStatsData object which inherits from TimelineData. IdleStatsData keeps track of idle wake ups by PID and is able to omit processes which have died during a run from the final reported result. BUG=343373 Review URL: https://codereview.chromium.org/501813002 Cr-Commit-Position: refs/heads/master@{#292422}
Showing
Please register or sign in to comment