diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-14 01:36:48 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-14 01:36:48 +0000 |
commit | 8aa1e6e66cc7c3eab00f3438262c4a309c9f9b92 (patch) | |
tree | 7fba89d7e04265a894af7c5e978ce42c524bef41 /base/profiler/scoped_profile.cc | |
parent | 2b57bf84ce42f8525d167bbd1c4bb47933831b36 (diff) | |
download | chromium_src-8aa1e6e66cc7c3eab00f3438262c4a309c9f9b92.zip chromium_src-8aa1e6e66cc7c3eab00f3438262c4a309c9f9b92.tar.gz chromium_src-8aa1e6e66cc7c3eab00f3438262c4a309c9f9b92.tar.bz2 |
Detect child tasks born during a profiled tasks
r=rtenneti
Review URL: http://codereview.chromium.org/8894022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114336 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/profiler/scoped_profile.cc')
-rw-r--r-- | base/profiler/scoped_profile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/profiler/scoped_profile.cc b/base/profiler/scoped_profile.cc index 71e25dc..93c86e92 100644 --- a/base/profiler/scoped_profile.cc +++ b/base/profiler/scoped_profile.cc @@ -13,7 +13,7 @@ namespace tracked_objects { ScopedProfile::ScopedProfile(const Location& location) : birth_(ThreadData::TallyABirthIfActive(location)), - start_of_run_(ThreadData::NowForStartOfRun()) { + start_of_run_(ThreadData::NowForStartOfRun(birth_)) { } ScopedProfile::~ScopedProfile() { |