<!--
{
  "availability" : [
    "iOS: 14.0.0 - 17.4.0",
    "iPadOS: 14.0.0 - 17.4.0",
    "macCatalyst: 14.0.0 - 17.4.0",
    "macOS: 11.0.0 - 14.3.0",
    "tvOS: 14.0.0 - 17.4.0"
  ],
  "documentType" : "symbol",
  "framework" : "MLCompute",
  "identifier" : "/documentation/MLCompute/MLCExecutionOptions/profiling",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "ML Compute"
    ],
    "preciseIdentifier" : "c:@E@MLCExecutionOptions@MLCExecutionOptionsProfiling"
  },
  "title" : "profiling"
}
-->

# profiling

The option to return profiling information in the callback before returning from execution.

```
static var profiling: MLCExecutionOptions { get }
```

## Discussion

Include this option to return profiling information in the graph execute completion handler callback, including device execution time.

---

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)