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

Unified Diff: base/profiler/scoped_profile.h

Issue 600213002: Instrumenting OnExtensionAddListener observer invocation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | extensions/browser/event_router.cc » ('j') | extensions/browser/event_router.cc » ('J')
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 c435a1dea1cd40513c3ec662c33e366f7f9deaf6..6f55cd8718eba7cd2c1ff93460c007fcb28e9b0c 100644
--- a/base/profiler/scoped_profile.h
+++ b/base/profiler/scoped_profile.h
@@ -44,6 +44,12 @@
::tracked_objects::ScopedProfile some_tracking_variable_name( \
FROM_HERE_WITH_EXPLICIT_FUNCTION(#dispatch_function_name))
+// Profiled region for developer and official builds. It allows developers to do
+// profiling of their code, and see results on their about:profiler page and in
+// Google-internal server-side tools.
+#define TRACK_RUN_IN_THIS_SCOPED_REGION(scope_name) \
+ TRACK_RUN_IN_IPC_HANDLER(scope_name)
Ilya Sherman 2014/09/24 23:38:01 It looks like all of the macros in this file could
vadimt 2014/09/25 00:21:21 Done.
+
namespace tracked_objects {
class Births;
« no previous file with comments | « no previous file | extensions/browser/event_router.cc » ('j') | extensions/browser/event_router.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698