summaryrefslogtreecommitdiffstats
path: root/content/renderer
diff options
context:
space:
mode:
authortapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-21 02:38:52 +0000
committertapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-21 02:38:52 +0000
commitbcab0049604f31d3f2a3ee13a55167b2e5c63c5f (patch)
treea64b9d5bb5e5e84c2121a822666ab48ff51a02fa /content/renderer
parentbfee8bd5b7b7ee3ee7f21008cd6a320cb42ce863 (diff)
downloadchromium_src-bcab0049604f31d3f2a3ee13a55167b2e5c63c5f.zip
chromium_src-bcab0049604f31d3f2a3ee13a55167b2e5c63c5f.tar.gz
chromium_src-bcab0049604f31d3f2a3ee13a55167b2e5c63c5f.tar.bz2
Revert 189475 "cc:: Add RenderingStatsInstrumentation to manage ..."
semi-speculative revert for cc_unittests failures - see bug. > cc:: Add RenderingStatsInstrumentation to manage collection of RenderingStats > > This change adds the class RenderingStatsInstrumentation that manages conditional > saving and thread-specific access to a private RenderingStats instance. > An instance of RenderingStatsRecorder is created on LayerTreeHost, which > passes references to LayerTreeHostImpl and TileManager. Access to reading > and writing on the internal RenderingStats instance is guarded by a lock. > > All rendering stats saving in LayerTreeHost, Single-/ThreadProxy, > LayerTreeHostImpl and TileManager has been switched to use the > RenderingStatsInstrumentation. Stats collection within Layer::update() still > follows the original structure to keep this change small. > > BUG=181319 > NOTRY=true > > Review URL: https://chromiumcodereview.appspot.com/12519006 TBR=egraether@chromium.org Review URL: https://codereview.chromium.org/12544031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer')
-rw-r--r--content/renderer/render_widget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 680c85a..a8b70cd 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -163,6 +163,8 @@ class CONTENT_EXPORT RenderWidget
// Fills in a WebRenderingStatsImpl struct containing information about
// rendering, e.g. count of frames rendered, time spent painting.
+ // This call is relatively expensive in threaded compositing mode,
+ // as it blocks on the compositor thread.
void GetRenderingStats(WebKit::WebRenderingStatsImpl&) const;
// Fills in a GpuRenderingStats struct containing information about