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

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