Descriptioncc:: 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189475
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189621
Patch Set 1 #Patch Set 2 : Rebase to 187305 #Patch Set 3 : Early out in methods, pass raw pointers, updated tests #
Total comments: 24
Patch Set 4 : Renamed to RenderingStatsInstrumentation #Patch Set 5 : Fixed tests #
Total comments: 2
Patch Set 6 : Resolved nit #Patch Set 7 : Updated to new cc file structure #Patch Set 8 : Rebase to chromified LayerTreeDebugState #Patch Set 9 : Rebase to 189021 #Patch Set 10 : Rebase to 189185 #Patch Set 11 : Rebase to 189302 #Patch Set 12 : Rebase to LayerTreeTest #
Total comments: 1
Patch Set 13 : Fixed tests #
Total comments: 2
Patch Set 14 : Updated all tests #
Messages
Total messages: 37 (0 generated)
|