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

Unified Diff: cc/rendering_stats.cc

Issue 10982078: Adding hooks for gathering total pixels painted and rasterized stats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/rendering_stats.h ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/rendering_stats.cc
diff --git a/cc/rendering_stats.cc b/cc/rendering_stats.cc
new file mode 100644
index 0000000000000000000000000000000000000000..ea465aa3e43f38509df499a9a947619b312a417a
--- /dev/null
+++ b/cc/rendering_stats.cc
@@ -0,0 +1,23 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "cc/rendering_stats.h"
+
+namespace cc {
+
+RenderingStats::RenderingStats()
+ : numAnimationFrames(0),
+ numFramesSentToScreen(0),
+ droppedFrameCount(0),
+ totalPaintTimeInSeconds(0),
+ totalRasterizeTimeInSeconds(0),
+ totalCommitTimeInSeconds(0),
+ totalCommitCount(0),
+ totalPixelsPainted(0),
+ totalPixelsRasterized(0),
+ numImplThreadScrolls(0),
+ numMainThreadScrolls(0) {
+}
+
+} // namespace cc
« no previous file with comments | « cc/rendering_stats.h ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698