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

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: Fixed comment 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') | no next file with comments »
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 3267bab845a8ed5ba7fe78d83d8ed34a7485af06..b0fb4d901fb92e8ed558d87aae138a9a41597c2b 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -584,7 +584,9 @@ class CONTENT_EXPORT RenderThreadImpl
void OnRendererHidden();
void OnRendererVisible();
- void RecordPurgeAndSuspendMemoryGrowthMetrics() const;
+ void RecordPurgeAndSuspendMemoryGrowthMetrics(
+ const char* suffix,
+ int foregrounded_count_when_purged);
void ReleaseFreeMemory();
@@ -786,8 +788,8 @@ class CONTENT_EXPORT RenderThreadImpl
mojom::RenderMessageFilterAssociatedPtr render_message_filter_;
RendererMemoryMetrics purge_and_suspend_memory_metrics_;
- base::CancelableClosure record_purge_suspend_growth_metric_closure_;
bool needs_to_record_first_active_paint_;
+ int process_foregrounded_count_;
int32_t client_id_;
« no previous file with comments | « no previous file | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698