---
title: hardwareCost
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturemulticamsession/hardwarecost
---

# hardwareCost

A value that indicates the percentage of the session’s available hardware budget currently in use.

## Declaration

```swift
var hardwareCost: Float { get }
```

## Discussion

Discussion The capture session takes into account the currently connected inputs, outputs, and enabled features to calculate the hardware cost. This value represents the percentage of the hardware in use, normalized to a range of 0.0 to 1.0. When the value is greater than 1.0, the capture session cannot run your configuration due to hardware constraints. In this case, you receive an runtimeErrorNotification when you attempt to start the session. The default value of this property is 0.0.

## See Also

### Managing resources

- [systemPressureCost](avfoundation/avcapturemulticamsession/systempressurecost.md)
