---
title: totalBytesWritten
framework: metrickit
role: symbol
role_heading: Instance Property
path: metrickit/diskwriteexceptiondiagnostic/totalbyteswritten
---

# totalBytesWritten

Total bytes written during the exception period.

## Declaration

```swift
let totalBytesWritten: Measurement<UnitInformationStorage>
```
