summaryrefslogtreecommitdiffstats
path: root/base/profiler/scoped_profile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/profiler/scoped_profile.cc')
-rw-r--r--base/profiler/scoped_profile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/profiler/scoped_profile.cc b/base/profiler/scoped_profile.cc
index 7bd31fe..71e25dc 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::Now()) {
+ start_of_run_(ThreadData::NowForStartOfRun()) {
}
ScopedProfile::~ScopedProfile() {
@@ -24,7 +24,7 @@ void ScopedProfile::StopClockAndTally() {
if (!birth_)
return;
ThreadData::TallyRunInAScopedRegionIfTracking(birth_, start_of_run_,
- ThreadData::Now());
+ ThreadData::NowForEndOfRun());
birth_ = NULL;
}