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

Unified Diff: base/threading/worker_pool_posix.cc

Issue 8894022: Detect child tasks born during a profiled tasks (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/worker_pool_posix.cc
===================================================================
--- base/threading/worker_pool_posix.cc (revision 113750)
+++ base/threading/worker_pool_posix.cc (working copy)
@@ -93,7 +93,7 @@
"src_func", pending_task.posted_from.function_name());
TrackedTime start_time =
- tracked_objects::ThreadData::NowForStartOfRun();
+ tracked_objects::ThreadData::NowForStartOfRun(pending_task.birth_tally);
pending_task.task.Run();

Powered by Google App Engine
This is Rietveld 408576698