MemoryCountersMetric


@ExperimentalMetricApi
public final class MemoryCountersMetric extends TraceMetric


Captures the number of page faults over time for a target package name.

Summary

Public constructors

Public methods

@NonNull List<@NonNull Metric.Measurement>

Get the metric result for a given iteration given information about the target process and a TraceProcessor session

Public constructors

MemoryCountersMetric

Added in 1.2.0
public MemoryCountersMetric()

Public methods

getMeasurements

Added in 1.4.0-alpha03
public @NonNull List<@NonNull Metric.MeasurementgetMeasurements(
    @NonNull Metric.CaptureInfo captureInfo,
    @NonNull PerfettoTraceProcessor.Session traceSession
)

Get the metric result for a given iteration given information about the target process and a TraceProcessor session