IosBenchmarkDeviceProbe

Collects iOS hardware metadata without constructing Core ML pipelines.

Metal/Core ML support is inferred from public system capabilities only, so a missing model package or unstable diffusion runtime cannot affect benchmark collection.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
private object Companion

Functions

Link copied to clipboard
private fun accelerators(metalAvailable: Boolean, simulator: Boolean): List<BenchmarkAccelerator>
Link copied to clipboard
Link copied to clipboard
private fun Long.bytesToMb(): Long
Link copied to clipboard
open suspend override fun capture(): BenchmarkDeviceInfo

Captures a best-effort hardware snapshot.

Link copied to clipboard
private fun environment(name: String): String?
Link copied to clipboard
Link copied to clipboard
private fun hardwareIdentifier(): String?
Link copied to clipboard
private fun String?.orUnknown(): String
Link copied to clipboard
private fun Long.simulatorAdjustedRam(simulator: Boolean): Long