IT. Expert System.

Android Reference

PerformanceCollector.PerformanceResultsWriter


android.os

Interface PerformanceCollector.PerformanceResultsWriter

  • Enclosing class:
    PerformanceCollector


    public static interface PerformanceCollector.PerformanceResultsWriter
    Interface for reporting performance data.
    • Method Detail

      • writeBeginSnapshot

        void writeBeginSnapshot(String label)
        Callback invoked as first action in PerformanceCollector#beginSnapshot(String) for reporting the start of a performance snapshot.
        Parameters:
        label - description of code block between beginSnapshot and PerformanceCollector#endSnapshot()
        See Also:
        PerformanceCollector.beginSnapshot(String)
      • writeEndSnapshot

        void writeEndSnapshot(Bundle results)
        Callback invoked as last action in PerformanceCollector#endSnapshot() for reporting performance data collected in the snapshot.
        Parameters:
        results - memory and runtime metrics stored as key/value pairs, in the same structure as returned by PerformanceCollector#endSnapshot()
        See Also:
        PerformanceCollector.endSnapshot()
      • writeStartTiming

        void writeStartTiming(String label)
        Callback invoked as first action in PerformanceCollector#startTiming(String) for reporting the start of a timing measurement.
        Parameters:
        label - description of code block between startTiming and PerformanceCollector#stopTiming(String)
        See Also:
        PerformanceCollector.startTiming(String)
      • writeMeasurement

        void writeMeasurement(String label,
                            long value)
        Callback invoked as last action in PerformanceCollector.addMeasurement(String, long) for reporting an integer type measurement.
        Parameters:
        label - short description of the metric that was measured
        value - long value of the measurement
      • writeMeasurement

        void writeMeasurement(String label,
                            float value)
        Callback invoked as last action in PerformanceCollector.addMeasurement(String, float) for reporting a float type measurement.
        Parameters:
        label - short description of the metric that was measured
        value - float value of the measurement


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1386 / 159176494. Delta: 0.03164 с