---
schema_version: "1"
id: 022dfbbe44c344825f0c19ac38aed5bfc8963e1f41458642a8474d5f4b35b161
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.3/dw-timer-types.md
canonical_url: https://docs.mulesoft.com/dataweave/2.3/dw-timer-types
source_site: docs.mulesoft.com
content_type: documentation
content_hash: f136d1ebf11fbe7b923678ba76febc7065d430fa0062a957ed1519141a14eb70
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
---
product: DataWeave
version: 2.3
---

# 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><p><code>type DurationMeasurement = { time: Number, result: T }</code></p></td><td><p>A return type that contains the execution time and result of a function call.</p></td></tr><tr><td><p>TimeMeasurement</p></td><td><p><code>type TimeMeasurement = { start: DateTime, result: T, end: DateTime }</code></p></td><td><p>A return type that contains a start time, end time, and result of a function call.</p></td></tr></tbody></table>
