Back to Chromium

PredictionMetricsHandler

ui/base/prediction/README.md

149.0.7827.2618 B
Original Source

#ui/base/prediction This directory implements general purpose predictors.

Examples of usage in scrolling can be found at third_party/blink/renderer/ platform/widget/input/scroll_predictor.cc.

PredictionMetricsHandler

Metrics from all predictors are logged by PredictorMetricsHandler.

This is an example of the points used by PredictionMetricsHandler::ComputeFrameOverUnderPredictionMetric.

The analogous is valid for ComputeOverUnderPredictionMetric, using interpolated_ instead of frame_interpolated_