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

Unified Diff: cc/resources/tile_manager.cc

Issue 362803002: Track UMA stats for running out of tile memory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed the stats from memory exceeded bytes to OOM enabled. Created 6 years, 6 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 | tools/metrics/histograms/histograms.xml » ('j') | tools/metrics/histograms/histograms.xml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.cc
diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc
index d508f6a0a17a5639290949fb9cf083eb4ffb6e10..1a368c0103a2d2908d706f2ceae98b29948b067c 100644
--- a/cc/resources/tile_manager.cc
+++ b/cc/resources/tile_manager.cc
@@ -874,6 +874,8 @@ void TileManager::AssignGpuMemoryToTiles(
global_state_.hard_memory_limit_in_bytes,
"over",
bytes_that_exceeded_memory_budget);
+
+ UMA_HISTOGRAM_BOOLEAN("TileManager.ExceededMemoryBudget", true);
Ilya Sherman 2014/07/02 21:08:37 I strongly encourage you to build in a baseline fo
sivag 2014/07/03 14:24:08 Thanks for the input. Do we want to add the custom
}
memory_stats_from_last_assign_.total_budget_in_bytes =
global_state_.hard_memory_limit_in_bytes;
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698