Commit 73c6a126 authored by Thiabaud Engelbrecht's avatar Thiabaud Engelbrecht Committed by Chromium LUCI CQ

[parkable_images] Fix typo in metric name.

This Cl is a follow-up to
https://chromium-review.googlesource.com/c/chromium/src/+/2564938, which
added metrics for ParkableImages.

This CL fixed a typo ("Memory.ParkableImages.TotalSize" ->
"Memory.ParkableImage.TotalSize") which was preventing collection of
metrics.

Bug: 1154295
Change-Id: Iaa3b5cce518b761c87fc2cea719d31ab7e2a7a3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2589027Reviewed-by: default avatarBenoit L <lizeb@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Thiabaud Engelbrecht <thiabaud@google.com>
Cr-Commit-Position: refs/heads/master@{#837585}
parent d37b5e5f
......@@ -76,7 +76,7 @@ void ParkableImageManager::Remove(DeferredImageDecoder* image) {
void ParkableImageManager::RecordStatisticsAfter5Minutes() const {
Statistics stats = ComputeStatistics();
base::UmaHistogramCounts100000("Memory.ParkableImages.TotalSize.5min",
base::UmaHistogramCounts100000("Memory.ParkableImage.TotalSize.5min",
stats.total_size / 1024); // Record in KiB.
}
......
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