diff --git a/cc/base/histograms.h b/cc/base/histograms.h index a4c0c58cc90ee3..16e059c4d43021 100644 --- a/cc/base/histograms.h +++ b/cc/base/histograms.h @@ -64,8 +64,9 @@ const char* GetClientNameForMetrics(); /* runtime constant. */ \ UMA_HISTOGRAM_COUNTS(base::StringPrintf(time_histogram, client_name), \ time_sample); \ - UMA_HISTOGRAM_COUNTS(base::StringPrintf(area_histogram, client_name), \ - area_sample); \ + UMA_HISTOGRAM_CUSTOM_COUNTS( \ + base::StringPrintf(area_histogram, client_name), area_sample, 1, \ + 100000000, 50); \ } \ } diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc index 9429510793ed31..09ff39814eb6ab 100644 --- a/cc/tiles/tile_manager.cc +++ b/cc/tiles/tile_manager.cc @@ -43,17 +43,17 @@ const bool kUseColorEstimator = true; DEFINE_SCOPED_UMA_HISTOGRAM_AREA_TIMER( ScopedGeneralRasterTaskTimer, "Compositing.%s.RasterTask.RasterUs", - "Compositing.%s.RasterTask.RasterPixelsPerMs"); + "Compositing.%s.RasterTask.RasterPixelsPerMs2"); DEFINE_SCOPED_UMA_HISTOGRAM_AREA_TIMER( ScopedSoftwareRasterTaskTimer, "Compositing.%s.RasterTask.RasterUs.Software", - "Compositing.%s.RasterTask.RasterPixelsPerMs.Software"); + "Compositing.%s.RasterTask.RasterPixelsPerMs2.Software"); DEFINE_SCOPED_UMA_HISTOGRAM_AREA_TIMER( ScopedGpuRasterTaskTimer, "Compositing.%s.RasterTask.RasterUs.Gpu", - "Compositing.%s.RasterTask.RasterPixelsPerMs.Gpu"); + "Compositing.%s.RasterTask.RasterPixelsPerMs2.Gpu"); class ScopedRasterTaskTimer { public: diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml index 9f7d5143b5f3dd..4b31d9c38efbed 100644 --- a/tools/metrics/histograms/histograms.xml +++ b/tools/metrics/histograms/histograms.xml @@ -6619,6 +6619,20 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. + + Deprecated 11/2016. Increased the max tracking range to accomendate GPU + raster, and will require new baskets. + + paint-dev@chromium.org + + Rasterized area, in pixels, divided by rasterization time, in milliseconds, + of a compositor rasterization task. Recorded after the task finishes (in a + browser process). + + + + paint-dev@chromium.org Rasterized area, in pixels, divided by rasterization time, in milliseconds, @@ -6870,6 +6884,20 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. + + Deprecated 11/2016. Increased the max tracking range to accomendate GPU + raster, and will require new baskets. + + paint-dev@chromium.org + + Rasterized area, in pixels, divided by rasterization time, in milliseconds, + of a compositor rasterization task. Recorded after the task finishes (in a + renderer process). + + + + paint-dev@chromium.org Rasterized area, in pixels, divided by rasterization time, in milliseconds, @@ -111961,8 +111989,11 @@ value. + +