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

Unified Diff: cc/resources/tile_manager.cc

Issue 1135073002: Revert "cc: Add UMA stats for record and raster time." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « cc/resources/picture_pile.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
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 0f3059f27fd10f39a336ad74df18f5fbc338893f..1162c72df8ceef4fdad907a656e538da2ef45a43 100644
--- a/cc/resources/tile_manager.cc
+++ b/cc/resources/tile_manager.cc
@@ -13,7 +13,6 @@
#include "base/logging.h"
#include "base/metrics/histogram.h"
#include "base/trace_event/trace_event_argument.h"
-#include "cc/base/histograms.h"
#include "cc/debug/devtools_instrumentation.h"
#include "cc/debug/frame_viewer_instrumentation.h"
#include "cc/debug/traced_value.h"
@@ -30,11 +29,6 @@ namespace {
// a tile is of solid color.
const bool kUseColorEstimator = true;
-DEFINE_SCOPED_UMA_HISTOGRAM_AREA_TIMER(
- ScopedRasterTaskTimer,
- "Compositing.RasterTask.RasterUs",
- "Compositing.RasterTask.RasterPixelsPerMs");
-
class RasterTaskImpl : public RasterTask {
public:
RasterTaskImpl(
@@ -109,8 +103,6 @@ class RasterTaskImpl : public RasterTask {
void Raster(const RasterSource* raster_source) {
frame_viewer_instrumentation::ScopedRasterTask raster_task(
tile_id_, tile_resolution_, source_frame_number_, layer_id_);
- ScopedRasterTaskTimer timer;
- timer.SetArea(content_rect_.size().GetArea());
DCHECK(raster_source);
« no previous file with comments | « cc/resources/picture_pile.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698