MemoryCountersMetric


@ExperimentalMetricApi
class MemoryCountersMetric : TraceMetric


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

Summary

Public constructors

Public functions

open List<Metric.Measurement>
getMeasurements(
    captureInfo: Metric.CaptureInfo,
    traceSession: PerfettoTraceProcessor.Session
)

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
MemoryCountersMetric()

Public functions

getMeasurements

Added in 1.4.0-alpha06
open fun getMeasurements(
    captureInfo: Metric.CaptureInfo,
    traceSession: PerfettoTraceProcessor.Session
): List<Metric.Measurement>

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