summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_host_impl.cc
diff options
context:
space:
mode:
authorernstm@chromium.org <ernstm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-11 21:12:33 +0000
committerernstm@chromium.org <ernstm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-11 21:12:33 +0000
commitadbe30f035bfc0c63f763a2d4af165ea2d1cf9c0 (patch)
treed30cfc87d61a7db96b0793be39364a38040266e9 /cc/trees/layer_tree_host_impl.cc
parent8d9a3359b14a5bfbbde3fe766231a73935ad065e (diff)
downloadchromium_src-adbe30f035bfc0c63f763a2d4af165ea2d1cf9c0.zip
chromium_src-adbe30f035bfc0c63f763a2d4af165ea2d1cf9c0.tar.gz
chromium_src-adbe30f035bfc0c63f763a2d4af165ea2d1cf9c0.tar.bz2
telemetry: Refactored rasterize_and_record measurement.
- switched rasterize_and_record benchmark to new benchmark architecture. - detailled traces are not required anymore, fixing the issue with trace event buffer overflows. - changed output to show pixels rasterized and recorded for one iteration of the raster/record loop. - Further reduced variance by excluding lowres tiles and adding another sleep to the measurement. Stdev of pixel counts is now zero (except for amazon.com). Stdev of time metrics with 100 repetitions is well below 1% of the mean for most pages in the top_25. R=nduca@chromium.org BUG=280638 Review URL: https://codereview.chromium.org/25353009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228253 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/trees/layer_tree_host_impl.cc')
-rw-r--r--cc/trees/layer_tree_host_impl.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 8331bd5..c0c5c2a 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -17,6 +17,7 @@
#include "cc/animation/timing_function.h"
#include "cc/base/math_util.h"
#include "cc/base/util.h"
+#include "cc/debug/benchmark_instrumentation.h"
#include "cc/debug/debug_rect_history.h"
#include "cc/debug/frame_rate_counter.h"
#include "cc/debug/overdraw_metrics.h"
@@ -1357,7 +1358,8 @@ void LayerTreeHostImpl::DrawLayers(FrameData* frame,
}
active_tree_->root_layer()->ResetAllChangeTrackingForSubtree();
- rendering_stats_instrumentation_->IssueTraceEventForImplThreadStats();
+ BenchmarkInstrumentation::IssueImplThreadRenderingStatsEvent(
+ rendering_stats_instrumentation_->impl_thread_rendering_stats());
rendering_stats_instrumentation_->AccumulateAndClearImplThreadStats();
}