---
schema_version: "1"
id: 0edc315fec3826c2553d7f5d9f6220b8f68f8c76d0fc516d2130c522120009f6
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.11/dw-timer-types.md
canonical_url: https://docs.mulesoft.com/dataweave/2.11/dw-timer-types
source_site: docs.mulesoft.com
content_type: documentation
content_hash: c596363e1a4d6046526a09fa26252418243663af14b8ada1af7f57e3f04f9df2
description: MuleSoft Documentation Site
release: "2.11"
latest: false
---
---
product: DataWeave
version: 2.11
---

# 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>
