diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-08 10:46:48 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-08 10:46:48 +0000 |
commit | 9d43cd1f7d78bcb696401bd1ab7359a8d76fde81 (patch) | |
tree | 0e7912dd1372987a584f687fe263b248c03122aa /base/tracked_objects.cc | |
parent | ab39dc873522a528d61532fe3ab98d0d012caaff (diff) | |
download | chromium_src-9d43cd1f7d78bcb696401bd1ab7359a8d76fde81.zip chromium_src-9d43cd1f7d78bcb696401bd1ab7359a8d76fde81.tar.gz chromium_src-9d43cd1f7d78bcb696401bd1ab7359a8d76fde81.tar.bz2 |
Revert 108752 - Support tracking of IPC messages as tasks in profiler
Also started to do more cleanup, including creating
a base/profiler directory, and moving parts of the
over-sized tracked_objects.* into that directory.
r=rtenneti
Review URL: http://codereview.chromium.org/8480014
TBR=jar@chromium.org
Review URL: http://codereview.chromium.org/8496008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109004 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/tracked_objects.cc')
-rw-r--r-- | base/tracked_objects.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc index 5403af58..2885eb0 100644 --- a/base/tracked_objects.cc +++ b/base/tracked_objects.cc @@ -509,31 +509,6 @@ void ThreadData::TallyRunOnWorkerThreadIfTracking( } // static -void ThreadData::TallyRunInAScopedRegionIfTracking( - const Births* birth, - const TrackedTime& start_of_run, - const TrackedTime& end_of_run) { - if (!kTrackAllTaskObjects) - return; // Not compiled in. - - // Even if we have been DEACTIVATED, we will process any pending births so - // that our data structures (which counted the outstanding births) remain - // consistent. - if (!birth) - return; - - ThreadData* current_thread_data = Get(); - if (!current_thread_data) - return; - - Duration queue_duration = Duration(); - Duration run_duration = end_of_run - start_of_run; - current_thread_data->TallyADeath(*birth, queue_duration, run_duration); -} - - - -// static ThreadData* ThreadData::first() { base::AutoLock lock(*list_lock_); return all_thread_data_list_head_; |