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

Unified Diff: cc/CCSingleThreadProxy.h

Issue 10914304: Add average commit time to perf tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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/CCSingleThreadProxy.h
diff --git a/cc/CCSingleThreadProxy.h b/cc/CCSingleThreadProxy.h
index acdf4cfaee5338a2aad5fcb4622f721433014726..9decef022881393657645762084d1c7d4caa0ee9 100644
--- a/cc/CCSingleThreadProxy.h
+++ b/cc/CCSingleThreadProxy.h
@@ -30,7 +30,7 @@ public:
virtual void setVisible(bool) OVERRIDE;
virtual bool initializeRenderer() OVERRIDE;
virtual bool recreateContext() OVERRIDE;
- virtual void implSideRenderingStats(CCRenderingStats&) OVERRIDE;
+ virtual void renderingStats(CCRenderingStats&) OVERRIDE;
virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE;
virtual void loseContext() OVERRIDE;
virtual void setNeedsAnimate() OVERRIDE;
@@ -78,6 +78,10 @@ private:
RendererCapabilities m_RendererCapabilitiesForMainThread;
bool m_nextFrameIsNewlyCommittedFrame;
+
+ // Statistics
nduca 2012/09/15 00:36:09 not sure we need the comment.
brianderson 2012/09/18 01:16:44 Done.
+ double m_totalCommitTime;
+ size_t m_totalCommitCount;
};
// For use in the single-threaded case. In debug builds, it pretends that the

Powered by Google App Engine
This is Rietveld 408576698