histogram

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package histogram is a package for common code related to video specific histogram.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WasHWAccelUsed

func WasHWAccelUsed(ctx context.Context, tconn *chrome.TestConn, initHistogram *metrics.Histogram, histogramName string, successValue int64) (bool, error)

WasHWAccelUsed returns whether HW acceleration is used for certain action. initHistogram is the histogram obtained before the action. successValue is the bucket value of HW acceleration success case. Note that it returns true even if more than one successful count is observed. It is because in some cases, we occassionally observed more than one successful count (crbug.com/985068). To prevent it from reporting false negative result, we relax the condition from successful count == 1 to >= 1, regardless it may introuce some false positive result. TODO(crbug.com/985068#c5): follow up the improvement plan.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL