summaryrefslogtreecommitdiffstats
path: root/cc/animation
diff options
context:
space:
mode:
authorsimonjam@chromium.org <simonjam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-26 07:42:42 +0000
committersimonjam@chromium.org <simonjam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-26 07:42:42 +0000
commitc76faeaa3ef76c0cf7560b5fe55ebb58981db4db (patch)
tree7b79abca9ef82094cb2f043b0f5050a35355fc20 /cc/animation
parentdbb091ac13a70f01335a9297dca00ff0e514ec2a (diff)
downloadchromium_src-c76faeaa3ef76c0cf7560b5fe55ebb58981db4db.zip
chromium_src-c76faeaa3ef76c0cf7560b5fe55ebb58981db4db.tar.gz
chromium_src-c76faeaa3ef76c0cf7560b5fe55ebb58981db4db.tar.bz2
Add a |scope| argument to TRACE_EVENT_INSTANT* and require its presence.
The scope indicates how long the vertical line should be in the tracing UI. It can be global (full screen), process or thread (fill those tracks), or local (the original style for INSTANT). BUG=None Review URL: https://chromiumcodereview.appspot.com/12252058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190577 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/animation')
-rw-r--r--cc/animation/animation.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/animation/animation.cc b/cc/animation/animation.cc
index e0e7e7c..6708620 100644
--- a/cc/animation/animation.cc
+++ b/cc/animation/animation.cc
@@ -124,6 +124,7 @@ void Animation::SetRunState(RunState run_state, double monotonic_time) {
TRACE_EVENT_INSTANT2("cc",
"LayerAnimationController::SetRunState",
+ TRACE_EVENT_SCOPE_THREAD,
"Name",
TRACE_STR_COPY(name_buffer),
"State",