One Logo Pool Ball
MetricKit · IOS API REFERENCE

MetalFrameRateMetric

struct · iOS 27.0+ · SDK 27.1

struct MetalFrameRateMetric

A metric for Metal frame rate.

Members (4)

get · iOS 27.0+

frameCount

TypeScript
get frameCount(): number
Swift declaration
let frameCount: Int

The total Metal drawable count

get · iOS 27.0+

framesPerSecond

TypeScript
get framesPerSecond(): _Foundation_Measurement<_Foundation_UnitFrequency>
Swift declaration
let framesPerSecond: Measurement<UnitFrequency>

The frame rate associated with this `CAMetalLayer`

get · iOS 27.0+

activeDrawingDuration

TypeScript
get activeDrawingDuration(): _Foundation_Measurement<_Foundation_UnitDuration>
Swift declaration
let activeDrawingDuration: Measurement<UnitDuration>

The duration of time spent actively producing new frames

get · iOS 27.0+

layerName

TypeScript
get layerName(): string
Swift declaration
let layerName: String

The `CAMetalLayer` name this metric corresponds to

Skipped declarations

No declarations were skipped in this snapshot.

All MetricKit types →