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>
getResult(
    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

getResult

Added in 1.3.0-alpha01
open fun getResult(
    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