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

Unified Diff: cc/CCRenderingStats.h

Issue 10916292: Adaptively throttle texture uploads (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add tests. Created 8 years, 3 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 5926f6c0e6bea0a14c292ae9b099002b9596b60f..1af3a5e1bc462e33a73a83eeab5afb5ff3030a2d 100644
--- a/cc/CCRenderingStats.h
+++ b/cc/CCRenderingStats.h
@@ -14,6 +14,8 @@ struct CCRenderingStats {
int droppedFrameCount;
double totalPaintTimeInSeconds;
double totalRasterizeTimeInSeconds;
+ double totalCommitTimeInSeconds;
+ size_t totalCommitCount;
CCRenderingStats()
: numAnimationFrames(0)
@@ -21,6 +23,8 @@ struct CCRenderingStats {
, droppedFrameCount(0)
, totalPaintTimeInSeconds(0)
, totalRasterizeTimeInSeconds(0)
+ , totalCommitTimeInSeconds(0)
+ , totalCommitCount(0)
{
}
};
« no previous file with comments | « cc/CCProxy.h ('k') | cc/CCSingleThreadProxy.h » ('j') | cc/CCTextureUpdateController.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698