---
schema_version: "1"
id: dc889af1e616f64e14a295976a657ca3fabeebbdb77341de61f800493617c609
title: Timer Types (dw::util::Timer)
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.6/dw-timer-types.md
canonical_url: https://docs.mulesoft.com/dataweave/2.6/dw-timer-types
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 4f7dfedcf53e146af8b03bf30c2e6c425de922e1aeac1e6580c12a08b84f6e01
description: MuleSoft Documentation Site
release: "2.6"
latest: false
---
---
product: DataWeave
version: 2.6
---

# Timer Types (dw::util::Timer)

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

<table><colgroup><col> <col> <col></colgroup><thead><tr><th>Type</th><th>Definition</th><th>Description</th></tr></thead><tbody><tr><td><p>DurationMeasurement</p></td><td><div><div><p><code>type DurationMeasurement = { time: Number, result: T }</code></p></div></div></td><td><div><div><p>A return type that contains the execution time and result of a function call.</p></div></div></td></tr><tr><td><p>TimeMeasurement</p></td><td><div><div><p><code>type TimeMeasurement = { start: DateTime, result: T, end: DateTime }</code></p></div></div></td><td><div><div><p>A return type that contains a start time, end time, and result of a function call.</p></div></div></td></tr></tbody></table>
