0

[pre_freeze] Rename "*Gpu*" metrics to "*GPU*"

This CL corrects the "Memory.PreFreeze2.Gpu.PrivateMemoryFootprint.*"
metrics to "Memory.PreFreeze2.GPU.PrivateMemoryFootprint.*", to match
the histogram file.

Bug: 334144248
Change-Id: I932e80802d8bc13ca0ac141ddea1ce32a3fb9c9e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5476748
Reviewed-by: Benoit Lize <lizeb@chromium.org>
Commit-Queue: Thiabaud Engelbrecht <thiabaud@google.com>
Cr-Commit-Position: refs/heads/main@{#1291908}
This commit is contained in:
Thiabaud Engelbrecht
2024-04-24 16:17:00 +00:00
committed by Chromium LUCI CQ
parent 1245ba5912
commit a86af33775
2 changed files with 12 additions and 1 deletions
base/android
tools/metrics/histograms/metadata/memory

@ -42,7 +42,7 @@ const char* GetProcessType() {
base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII("type");
const char* process_type = type == "" ? "Browser"
: type == "renderer" ? "Renderer"
: type == "gpu-process" ? "Gpu"
: type == "gpu-process" ? "GPU"
: type == "utility" ? "Utility"
: "Unknown";
return process_type;

@ -1769,6 +1769,17 @@ chromium-metrics-reviews@google.com.
</token>
</histogram>
<histogram name="Memory.PreFreeze2.Gpu.PrivateMemoryFootprint.{Timing}"
units="MiB" expires_after="2025-02-01">
<owner>thiabaud@google.com</owner>
<owner>lizeb@google.com</owner>
<summary>
Deprecated in favor of
&quot;Memory.PreFreeze2.GPU.PrivateMemoryFootprint.*&quot;.
</summary>
<token key="Timing" variants="RecordedTiming"/>
</histogram>
<histogram name="Memory.PreFreeze2{Process}.PrivateMemoryFootprint.{Timing}"
units="MiB" expires_after="2025-02-01">
<owner>thiabaud@google.com</owner>