We should add a histogram to track the frequency of running

out of memory for tiles in the memory budget.

BUG= 368392

Review URL: https://codereview.chromium.org/362803002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282987 0039d316-1c4b-4281-b951-d872f2087c98
parent aeef559f
......@@ -875,6 +875,7 @@ void TileManager::AssignGpuMemoryToTiles(
"over",
bytes_that_exceeded_memory_budget);
}
UMA_HISTOGRAM_BOOLEAN("TileManager.ExceededMemoryBudget", oomed_hard);
memory_stats_from_last_assign_.total_budget_in_bytes =
global_state_.hard_memory_limit_in_bytes;
memory_stats_from_last_assign_.bytes_allocated =
......
......@@ -32203,6 +32203,15 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
<histogram name="TileManager.ExceededMemoryBudget" enum="TileMemoryBudget">
<owner>reveman@chromium.org</owner>
<owner>vmpstr@chromium.org</owner>
<summary>
Measures whether the tile manager exceeded the hard GPU memory budget
(OOMed). Recorded each time the tile manager assigns GPU memory to tiles.
</summary>
</histogram>
<histogram name="TimeZone.TimeZoneRequest.Event" enum="TimeZoneRequestEvent">
<summary>Events in TimeZoneRequest.</summary>
</histogram>
......@@ -47288,6 +47297,11 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="9" label="No syn data + probe failed"/>
</enum>
<enum name="TileMemoryBudget" type="int">
<int value="0" label="Within memory budget"/>
<int value="1" label="Exceeded memory budget"/>
</enum>
<enum name="TimeZoneRequestEvent" type="int">
<int value="0" label="Request start"/>
<int value="1" label="Response success"/>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment