Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2158)

Unified Diff: content/renderer/raster_worker_pool.cc

Issue 1632923002: cc: Move more traces to be disabled-by-default around tile management. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/raster_worker_pool.cc
diff --git a/content/renderer/raster_worker_pool.cc b/content/renderer/raster_worker_pool.cc
index 71859d846b6b88e9e890f1b9702b58586ec188f2..0924c0a5118b24e3a97717b8e842d3045fe55286 100644
--- a/content/renderer/raster_worker_pool.cc
+++ b/content/renderer/raster_worker_pool.cc
@@ -249,7 +249,8 @@ cc::NamespaceToken RasterWorkerPool::GetNamespaceToken() {
void RasterWorkerPool::ScheduleTasks(cc::NamespaceToken token,
cc::TaskGraph* graph) {
- TRACE_EVENT2("cc", "RasterWorkerPool::ScheduleTasks", "num_nodes",
+ TRACE_EVENT2("disabled-by-default-cc.debug",
+ "RasterWorkerPool::ScheduleTasks", "num_nodes",
graph->nodes.size(), "num_edges", graph->edges.size());
{
base::AutoLock lock(lock_);
@@ -271,7 +272,8 @@ void RasterWorkerPool::ScheduleTasksWithLockAcquired(cc::NamespaceToken token,
}
void RasterWorkerPool::WaitForTasksToFinishRunning(cc::NamespaceToken token) {
- TRACE_EVENT0("cc", "RasterWorkerPool::WaitForTasksToFinishRunning");
+ TRACE_EVENT0("disabled-by-default-cc.debug",
+ "RasterWorkerPool::WaitForTasksToFinishRunning");
DCHECK(token.IsValid());
@@ -292,7 +294,8 @@ void RasterWorkerPool::WaitForTasksToFinishRunning(cc::NamespaceToken token) {
void RasterWorkerPool::CollectCompletedTasks(
cc::NamespaceToken token,
cc::Task::Vector* completed_tasks) {
- TRACE_EVENT0("cc", "RasterWorkerPool::CollectCompletedTasks");
+ TRACE_EVENT0("disabled-by-default-cc.debug",
+ "RasterWorkerPool::CollectCompletedTasks");
{
base::AutoLock lock(lock_);
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698