---
title: totalCPUTime
framework: metrickit
role: symbol
role_heading: Instance Property
path: metrickit/mxcpuexceptiondiagnostic/totalcputime
---

# totalCPUTime

The total CPU time used during the exception.

## Declaration

```swift
var totalCPUTime: Measurement<UnitDuration> { get }
```

## See Also

### Viewing app CPU time

- [totalSampledTime](metrickit/mxcpuexceptiondiagnostic/totalsampledtime.md)
