<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetricKit",
  "identifier" : "/documentation/MetricKit/MetricReport/intervalEntries",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetricKit"
    ],
    "preciseIdentifier" : "s:9MetricKit0A6ReportV15intervalEntriesSayAC13IntervalEntryVGvp"
  },
  "title" : "intervalEntries"
}
-->

# intervalEntries

The interval entries in this metric report, including the full-day aggregate.

```
let intervalEntries: [MetricReport.IntervalEntry]
```

## Discussion

Use the <doc://com.apple.documentation/documentation/Swift/Array/fullDayEntry> convenience property on the collection to access the entry covering the entire 24-hour reporting period. This is the entry with the longest [`duration`](/documentation/MetricKit/MetricReport/IntervalEntry/duration):

```swift
let entry = report.intervalEntries.fullDayEntry
for result in entry.values {
    switch result {
    case .cpuTime(let metric): process(metric)
    @unknown default: break
    }
}
```

When state reporting is enabled, `intervalEntries` may also include shorter sub-interval entries alongside the full-day entry. Use `byStateReportingDomain` on the collection to group all states across all interval entries by domain.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)