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

Unified Diff: content/renderer/render_thread_impl.h

Issue 2899683002: Reenable Purge+Suspend Memory Growth metrics. (Closed)
Patch Set: Fixed. Created 3 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 | content/renderer/render_thread_impl.cc » ('j') | content/renderer/render_thread_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index b2734508a09094e420d8eba1d43fd6157f872dd1..4ea70173926dc2a8c96a491bf990404733fc3593 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -590,9 +590,14 @@ class CONTENT_EXPORT RenderThreadImpl
void OnRendererHidden();
void OnRendererVisible();
+ enum RecordMemoryGrowthTiming {
+ RECORD_30MIN_AFTER_PURGE,
+ RECORD_60MIN_AFTER_PURGE,
+ RECORD_90MIN_AFTER_PURGE
+ };
void RecordPurgeAndSuspendMemoryGrowthMetrics(
- const char* suffix,
- int foregrounded_count_when_purged);
+ int foregrounded_count_when_purged,
+ RecordMemoryGrowthTiming record_timing);
void ReleaseFreeMemory();
« no previous file with comments | « no previous file | content/renderer/render_thread_impl.cc » ('j') | content/renderer/render_thread_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698