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

Unified Diff: cc/CCRenderingStats.h

Issue 11028021: cc: Improve frame/commit accounting (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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
Index: cc/CCRenderingStats.h
diff --git a/cc/CCRenderingStats.h b/cc/CCRenderingStats.h
index fb178a89722fe38fb7fd69a483c6023b305e44c1..977027299943f06527bc4f75e55003f90930907d 100644
--- a/cc/CCRenderingStats.h
+++ b/cc/CCRenderingStats.h
@@ -9,9 +9,12 @@ namespace cc {
struct CCRenderingStats {
// FIXME: Rename these to animationFrameCount and screenFrameCount, crbug.com/138641.
- int numAnimationFrames;
- int numFramesSentToScreen;
- int droppedFrameCount;
+ size_t numCSyncs;
+ size_t numActiveCSyncs;
+ size_t numFramesSentToScreen;
+ size_t numAnimationFrames;
+ size_t numAnimationFramesImpl;
dtu 2012/10/04 01:51:36 Can we use thingCount instead of numThings? Also,
brianderson 2012/10/04 20:11:59 Sure, will make it consistent.
+ size_t droppedFrameCount;
double totalPaintTimeInSeconds;
double totalRasterizeTimeInSeconds;
double totalCommitTimeInSeconds;
@@ -20,8 +23,11 @@ struct CCRenderingStats {
size_t numMainThreadScrolls;
CCRenderingStats()
- : numAnimationFrames(0)
+ : numCSyncs(0)
+ , numActiveCSyncs(0)
, numFramesSentToScreen(0)
+ , numAnimationFrames(0)
+ , numAnimationFramesImpl(0)
, droppedFrameCount(0)
, totalPaintTimeInSeconds(0)
, totalRasterizeTimeInSeconds(0)
« cc/CCFrameRateController.cpp ('K') | « cc/CCLayerTreeHostImpl.cpp ('k') | cc/CCScheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698