cc: Add main frame timing info to frame timing tracker.
commitd704c875efd1204a4128d66685fc95b204dc353d
authorvmpstr <vmpstr@chromium.org>
Fri, 3 Apr 2015 20:29:51 +0000 (3 13:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 3 Apr 2015 20:30:45 +0000 (3 20:30 +0000)
treef1e555d5215bb9ca4c2f6e5a140d3999cdfd7fe7
parentadf25383033ff5794a810f725c78e319126b6edb
cc: Add main frame timing info to frame timing tracker.

This patch adds main frame timing info to frame timing tracker.

The main frame start time is the timestamp of the frame in which we
did a SendBeginMainFrame. The "end" of the frame is the timestamp of
the beginning of the frame that follows the frame in which we activated.

We report start and end_time on each of the frames.

If a main frame is aborted, then we don't report the time unless we
aborted due to the fact that there were no changes (ie a "successful"
frame).

R=danakj, brianderson, mpb@chromium.org

Review URL: https://codereview.chromium.org/914403003

Cr-Commit-Position: refs/heads/master@{#323806}
12 files changed:
cc/debug/frame_timing_tracker.cc
cc/debug/frame_timing_tracker.h
cc/debug/frame_timing_tracker_unittest.cc
cc/layers/layer_impl.cc
cc/layers/layer_impl.h
cc/trees/layer_tree_host_impl.cc
cc/trees/layer_tree_host_impl.h
cc/trees/layer_tree_host_unittest.cc
cc/trees/layer_tree_impl.cc
cc/trees/layer_tree_impl.h
cc/trees/thread_proxy.cc
cc/trees/thread_proxy.h