---
title: profiling
framework: ML Compute
role: symbol
role_heading: Type Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcexecutionoptions/profiling
---

# profiling

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

## Declaration

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

## Discussion

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

## See Also

### Execution Options

- [init(rawValue:)](mlcompute/mlcexecutionoptions/init(rawvalue:).md)
- [skipWritingInputDataToDevice](mlcompute/mlcexecutionoptions/skipwritinginputdatatodevice.md)
- [synchronous](mlcompute/mlcexecutionoptions/synchronous.md)
- [perLayerProfiling](mlcompute/mlcexecutionoptions/perlayerprofiling.md)
- [forwardForInference](mlcompute/mlcexecutionoptions/forwardforinference.md)
