Index: base/profiler/scoped_profile.cc |
=================================================================== |
--- base/profiler/scoped_profile.cc (revision 109839) |
+++ base/profiler/scoped_profile.cc (working copy) |
@@ -13,7 +13,7 @@ |
ScopedProfile::ScopedProfile(const Location& location) |
: birth_(ThreadData::TallyABirthIfActive(location)), |
- start_of_run_(ThreadData::Now()) { |
+ start_of_run_(ThreadData::NowForStartOfRun()) { |
} |
ScopedProfile::~ScopedProfile() { |
@@ -24,7 +24,7 @@ |
if (!birth_) |
return; |
ThreadData::TallyRunInAScopedRegionIfTracking(birth_, start_of_run_, |
- ThreadData::Now()); |
+ ThreadData::NowForEndOfRun()); |
birth_ = NULL; |
} |