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

Unified Diff: base/threading/sequenced_worker_pool.cc

Issue 1784133002: [tracing] Adding task information to heap profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 4 years, 9 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
Index: base/threading/sequenced_worker_pool.cc
diff --git a/base/threading/sequenced_worker_pool.cc b/base/threading/sequenced_worker_pool.cc
index 081a49f39e65d0d2a140b4254dab5ac0efb2d0bc..c141a101949e2ee16bef520316710d5be363fd09 100644
--- a/base/threading/sequenced_worker_pool.cc
+++ b/base/threading/sequenced_worker_pool.cc
@@ -812,6 +812,7 @@ void SequencedWorkerPool::Inner::ThreadLoop(Worker* this_worker) {
TRACE_EVENT_FLAG_FLOW_IN,
"src_file", task.posted_from.file_name(),
"src_func", task.posted_from.function_name());
+ TRACE_TASK_EXECUTION("SequencedWorkerPool::Inner::ThreadLoop", task);
int new_thread_id = WillRunWorkerTask(task);
{
AutoUnlock unlock(lock_);

Powered by Google App Engine
This is Rietveld 408576698