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

Unified Diff: tracing/tracing/extras/chrome/cc/constants.html

Issue 1336373002: Port rendering_stats' implementation to javascript (Closed) Base URL: https://github.com/catapult-project/catapult@master
Patch Set: Address some of Nat's comments Created 5 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
« tracing/tracing/base/utils.html ('K') | « tracing/tracing/base/utils_test.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/extras/chrome/cc/constants.html
diff --git a/tracing/tracing/extras/chrome/cc/constants.html b/tracing/tracing/extras/chrome/cc/constants.html
index c65adca5b593962d8a524897b67fc33c4315e9de..d7580e558840ed0a21c9b1b1deba1e1ec19be814 100644
--- a/tracing/tracing/extras/chrome/cc/constants.html
+++ b/tracing/tracing/extras/chrome/cc/constants.html
@@ -20,6 +20,50 @@ tr.exportTo('tr.e.cc', function() {
'ThreadProxy::ScheduledActionSendBeginMainFrame';
constants.BEGIN_MAIN_FRAME_EVENT = 'ThreadProxy::BeginMainFrame';
+ // These are LatencyInfo component names indicating the various components
+ // that the input event has travelled through.
+ // This is when the input event first reaches chrome.
+ constants.UI_COMP_NAME = 'INPUT_EVENT_LATENCY_UI_COMPONENT';
+
+ // This is when the input event was originally created by OS.
+ constants.ORIGINAL_COMP_NAME = 'INPUT_EVENT_LATENCY_ORIGINAL_COMPONENT';
+
+ // This is when the input event was sent from browser to renderer.
+ constants.BEGIN_COMP_NAME = 'INPUT_EVENT_LATENCY_BEGIN_RWH_COMPONENT';
+
+ // This is when an input event is turned into a scroll update.
+ constants.BEGIN_SCROLL_UPDATE_COMP_NAME = (
+ 'LATENCY_BEGIN_SCROLL_LISTENER_UPDATE_MAIN_COMPONENT');
+
+ // This is when a scroll update is forwarded to the main thread.
+ constants.FORWARD_SCROLL_UPDATE_COMP_NAME = (
+ 'INPUT_EVENT_LATENCY_FORWARD_SCROLL_UPDATE_TO_MAIN_COMPONENT');
+
+ // This is when the input event has reached swap buffer.
+ constants.END_COMP_NAME = 'INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT';
+
+ // Name for a main thread scroll update latency event.
+ constants.SCROLL_UPDATE_EVENT_NAME = 'Latency::ScrollUpdate';
+ // Name for a gesture scroll update latency event.
+ constants.GESTURE_SCROLL_UPDATE_EVENT_NAME =
+ 'InputLatency::GestureScrollUpdate';
+
+ // These are keys used in the 'data' field dictionary located in
+ // BenchmarkInstrumentation::ImplThreadRenderingStats.
+ constants.VISIBLE_CONTENT_DATA = 'visible_content_area';
+ constants.APPROXIMATED_VISIBLE_CONTENT_DATA =
+ 'approximated_visible_content_area';
+ constants.CHECKERBOARDED_VISIBLE_CONTENT_DATA =
+ 'checkerboarded_visible_content_area';
+
+ constants.BENCHMARK_DISPLAY_RENDERING_STATS =
+ 'BenchmarkInstrumentation::DisplayRenderingStats';
+
+ constants.BENCHMARK_IMPL_THREAD_RENDERING_STATS =
+ 'BenchmarkInstrumentation::ImplThreadRenderingStats';
+
+ constants.VSYNC_BEFORE = 'vsync_before';
+
return {
constants: constants
};
« tracing/tracing/base/utils.html ('K') | « tracing/tracing/base/utils_test.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698