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

Unified Diff: third_party/tcmalloc/chromium/src/gperftools/profiler.h

Issue 9416072: Fix gperftools to not arm the profiling timer by default. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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 | third_party/tcmalloc/chromium/src/profile-handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tcmalloc/chromium/src/gperftools/profiler.h
diff --git a/third_party/tcmalloc/chromium/src/gperftools/profiler.h b/third_party/tcmalloc/chromium/src/gperftools/profiler.h
index 07323e450bfa500596cad0ae7827732c8a57ca6e..72a74ba37d8497a36f411e9fb748c0557796866d 100644
--- a/third_party/tcmalloc/chromium/src/gperftools/profiler.h
+++ b/third_party/tcmalloc/chromium/src/gperftools/profiler.h
@@ -150,6 +150,10 @@ PERFTOOLS_DLL_DECL int ProfilingIsEnabledForAllThreads();
*/
PERFTOOLS_DLL_DECL void ProfilerRegisterThread();
+/* Routine for unregistering new threads with the profiler.
+ */
+PERFTOOLS_DLL_DECL void ProfilerUnregisterThread();
+
/* Stores state about profiler's current status into "*state". */
struct ProfilerState {
int enabled; /* Is profiling currently enabled? */
« no previous file with comments | « no previous file | third_party/tcmalloc/chromium/src/profile-handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698