1// Copyright 2020 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5syntax = "proto2"; 6 7package perfetto.protos; 8 9import "protos/perfetto/metrics/metrics.proto"; 10import "protos/perfetto/metrics/custom_options.proto"; 11 12// Computes the number of occurrences of http://crbug/1072364 in a TBMv3 metric. 13// requiredCategories: latencyInfo (input). 14 15message NumExcessiveTouchMovesBlockingGestureScrollUpdates { 16 // The number of times that scroll switched back to TouchMove being blocking. 17 optional int64 num_touch_moves_blocking_gesture_scrolls = 1 18 [(unit) = "count_smallerIsBetter"]; 19 // The total number of TouchMoves that blocked GestureScrollUpdates. 20 optional int64 num_total_touch_moves_blocking_gesture_scrolls = 2 21 [(unit) = "count_smallerIsBetter"]; 22 // The total number of TouchMoves that were during a scroll. 23 optional int64 num_touch_moves_during_scroll = 3 24 [(unit) = "count_smallerIsBetter"]; 25} 26 27extend TraceMetrics { 28 optional NumExcessiveTouchMovesBlockingGestureScrollUpdates 29 num_excessive_touch_moves_blocking_gesture_scroll_updates = 456; 30} 31