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

Unified Diff: cc/CCThreadProxy.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/CCThreadProxy.h
diff --git a/cc/CCThreadProxy.h b/cc/CCThreadProxy.h
index aeb4f8af4717eac4f9c7832f51b85ab5c5fe8bb9..36d04ef76ce9a553b7a7a6be2d0b44e4692bc7bd 100644
--- a/cc/CCThreadProxy.h
+++ b/cc/CCThreadProxy.h
@@ -39,7 +39,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;
@@ -121,7 +121,7 @@ private:
void setFullRootLayerDamageOnImplThread();
void acquireLayerTexturesForMainThreadOnImplThread(CCCompletionEvent*);
void recreateContextOnImplThread(CCCompletionEvent*, CCGraphicsContext*, bool* recreateSucceeded, RendererCapabilities*);
- void implSideRenderingStatsOnImplThread(CCCompletionEvent*, CCRenderingStats*);
+ void renderingStatsOnImplThread(CCCompletionEvent*, CCRenderingStats*);
CCScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapInternal(bool forcedDraw);
void forceSerializeOnSwapBuffersOnImplThread(CCCompletionEvent*);
void setNeedsForcedCommitOnImplThread();
@@ -173,6 +173,10 @@ private:
bool m_nextFrameIsNewlyCommittedFrameOnImplThread;
bool m_renderVSyncEnabled;
+
+ // Statistics
nduca 2012/09/15 00:36:09 meh on comment
brianderson 2012/09/18 01:16:44 Done.
+ double m_totalCommitTime;
+ size_t m_totalCommitCount;
};
}

Powered by Google App Engine
This is Rietveld 408576698