Symbols: 93.6% of Apple's iOS API (514 of 549, exact) · Rows: 4: 3 ✅ 1 ❌ · iOS: 13.0+
Area: Swift, Darwin & runtimes · Apple: MetricKit · Issues: area:runtime
- Adapted: measured from the app's own process (
isim/runtime/host_diag.c). Payloads arrive at the next launch, or on demand withmetrickit deliver.
| API / feature | Status | iOS | Notes |
|---|---|---|---|
MetricKit (MXMetricManager, subscribers, MXMetricPayload/MXDiagnosticPayload, metrics, diagnostics, mxSignpost, MXSignpostRecord, extended launch, jsonRepresentation) |
✅ | ≤17 | adapted: measured from the app's process once it uses MXMetricManager.shared: CPU time, peak and suspended memory, logical writes, time to first draw, resume time, extended launch, hangs (main thread away from its event loop ≥ 250 ms), foreground / background (audio, location) time, network bytes (as Wi-Fi), location time by accuracy, frame hitches (per foreground second, all animations), average pixel luminance, exits (from crash reports), mxSignpost intervals; GPU time 0 (CPU drawing), instructions not counted, no cellular metrics. Metric payloads: each run's, at the next launch (iOS: daily); metrickit deliver / isim metrickit deliver now. Diagnostics as they happen: hangs (sampled stack), slow launch (≥ 2 s), CPU (80 % over 3 min), disk writes (1 GiB); crashes at the next launch. metrickit alone: Xcode's fixed sample payloads. pastPayloads since shared was first used. Tested: test_diagnostics, HelloCloudKit |
| Types not yet in isim (iOS 17 and earlier) | ❌ | ≤17 | not implemented, found by the 2026-10 sweep: MXError, MXError.Code, MXLaunchTaskID (3 types; with their members under "Not yet in isim") |
MXDiskSpaceUsageMetric, MXMetricPayload.diskSpaceUsageMetrics |
✅ | 26.0 | adapted: measured when the payload is made: the app bundle's files (binary), the data container's files and its Library/Caches, the file system's capacity and use; clone size 0 (isim's file systems do not clone). Tested: test_diagnostics |
MetricManager (metricReports, diagnosticReports, enabledStateReportingDomains, logHandle(category:), trackLaunchTask sync / async, LaunchTaskError, ReportedState), MetricReport (environment, interval and state entries, EncodingFormat, Codable), MetricResult and its metric types, MetricGroup, Histogram, AverageStatistics, SignalBars / HitchTimeRatio / AveragePixelLuminance, DiagnosticReport / DiagnosticResult and the diagnostics, CallStackTree / CallStackThread / CallStackFrame, OSVersion, SignpostRecord, StateReportingDomain, LaunchTaskID, Array.byStateReportingDomain, mxSignpostAnimationIntervalBegin(dso:log:name:signpostID:_:_:) |
✅ | 27.0 | adapted: the same measurements and delivery as MXMetricManager, as async sequences: a MetricReport per metric payload (its values in one interval entry over the report's time range, with the states of the enabled domains; a state entry per state with the CPU time and logical writes measured in it, from StateReporting), a DiagnosticReport per diagnostic (a diagnostic made in this process carries the domains' current states); trackLaunchTask counts toward the extended launch (errors after the first frame: pastDeadline). Not measured: Metal frame rates (no metalFrameRate values), memory exceptions (isim does not limit memory). Members Apple does not document (StateReportingDomain's initializer, TerminationReason's content) are isim's (proposed). Tested: test_diagnostics::test_metric_reports_ios27 (HelloDiagnostics, --os 27) |
35 symbols Apple documents for iOS that isim does not have (exact; Apple snapshot 2026-10-14). Each links to Apple's documentation.
List
var hitchTimeRatio: Measurement<Unit>init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)MXErrorMXError.Codeinit?(rawValue: Int)case launchTaskDuplicatedcase launchTaskInternalFailurecase launchTaskInvalidIDcase launchTaskMaxCountcase launchTaskPastDeadlinecase launchTaskUnknownstatic var errorDomain: Stringstatic var launchTaskDuplicated: MXError.Codestatic var launchTaskInternalFailure: MXError.Codestatic var launchTaskInvalidID: MXError.Codestatic var launchTaskMaxCount: MXError.Codestatic var launchTaskPastDeadline: MXError.Codestatic var launchTaskUnknown: MXError.Codelet MXErrorDomain: Stringinit?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)MXLaunchTaskIDinit(String)init(rawValue: String)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)init?(coder: NSCoder)