Extract trace from TaskAnnotator::RunTask to its call sites
commit596ad0cca35be6b20afba297d3e8c26ae52e3ec2
authorcaseq <caseq@chromium.org>
Thu, 16 Jul 2015 19:13:21 +0000 (16 12:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Jul 2015 19:14:04 +0000 (16 19:14 +0000)
treeeaf711a8271a37010723109d04654cff388601a8
parent7354d69fc096df6fad06291798e4435dbcab2b6f
Extract trace from TaskAnnotator::RunTask to its call sites

This extracts TRACE_EVENT() that brackets the task being executed
from TaskAnnotator::RunTask() to its call sites, so that it covers
time spent in the task observers on the top level (i.e. in MessageLoop).

BUG=508005
TBR=chirantan

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

Cr-Commit-Position: refs/heads/master@{#339091}
base/debug/task_annotator.cc
base/debug/task_annotator.h
base/debug/task_annotator_unittest.cc
base/message_loop/message_loop.cc
components/scheduler/child/task_queue_manager.cc
components/timers/alarm_timer_chromeos.cc