# Copyright 2024 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ The base class of all the measurement supported by the metric. """
from abc import ABC, abstractmethod from test_script_metrics_pb2 import TestScriptMetric
class Measure(ABC):
@abstractmethod def dump(self) -> TestScriptMetric: """Dumps the data into a TestScriptMetric instance.
Returns:
TestScriptMetric: A protobuf instance to represent the metric data. """
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.