Description[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
Committed: https://crrev.com/edde24b3815fdbc888c675fb24cb21a25186c989
Cr-Commit-Position: refs/heads/master@{#292422}
Patch Set 1 #
Total comments: 10
Patch Set 2 : Fix review comments #
Total comments: 4
Patch Set 3 : Fix review comments #
Total comments: 2
Patch Set 4 : Fix cpu_stats comment. #
Total comments: 1
Messages
Total messages: 15 (0 generated)
|