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

Unified Diff: content/renderer/render_thread_impl.h

Issue 2843373004: Record renderer's memory growth 30min, 60min and 90min after purging separately. (Closed)
Patch Set: 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 46e27ce6204e9f36b676151b74e71ec688cdb022..e7669a2a17a460e86682b304997f5174fbcb050c 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -581,7 +581,7 @@ class CONTENT_EXPORT RenderThreadImpl
void OnRendererHidden();
void OnRendererVisible();
- void RecordPurgeAndSuspendMemoryGrowthMetrics() const;
+ void RecordPurgeAndSuspendMemoryGrowthMetrics();
void ReleaseFreeMemory();
@@ -784,6 +784,7 @@ class CONTENT_EXPORT RenderThreadImpl
RendererMemoryMetrics purge_and_suspend_memory_metrics_;
base::CancelableClosure record_purge_suspend_growth_metric_closure_;
+ int memory_growth_report_count_;
bool needs_to_record_first_active_paint_;
int32_t client_id_;
« 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