Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2028)

Unified Diff: base/profiler/scoped_profile.h

Issue 445413003: Creating a framework for suppressing pollution of the profiler data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing unit tests again. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/debug/task_annotator.cc ('k') | base/profiler/scoped_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/profiler/scoped_profile.h
diff --git a/base/profiler/scoped_profile.h b/base/profiler/scoped_profile.h
index 8b77d6d381cfe876184e1203a400ce0655f1f4c1..c435a1dea1cd40513c3ec662c33e366f7f9deaf6 100644
--- a/base/profiler/scoped_profile.h
+++ b/base/profiler/scoped_profile.h
@@ -15,6 +15,7 @@
#include "base/base_export.h"
#include "base/location.h"
#include "base/profiler/tracked_time.h"
+#include "base/tracked_objects.h"
#if defined(GOOGLE_CHROME_BUILD)
@@ -57,7 +58,7 @@ class BASE_EXPORT ScopedProfile {
private:
Births* birth_; // Place in code where tracking started.
- const TrackedTime start_of_run_;
+ TaskStopwatch stopwatch_;
DISALLOW_COPY_AND_ASSIGN(ScopedProfile);
};
« no previous file with comments | « base/debug/task_annotator.cc ('k') | base/profiler/scoped_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698