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

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: Updated 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') | tools/metrics/histograms/histograms.xml » ('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..37b88a04a61ad122219077cb4930d932824063b6 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -581,7 +581,9 @@ class CONTENT_EXPORT RenderThreadImpl
void OnRendererHidden();
void OnRendererVisible();
- void RecordPurgeAndSuspendMemoryGrowthMetrics() const;
+ void RecordPurgeAndSuspendMemoryGrowthMetrics(
+ const char* suffix,
+ int foregrounded_count_when_purged);
void ReleaseFreeMemory();
@@ -783,8 +785,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') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698