Contact Free trial Login

Timer Types (dw::util::Timer)

Type Definition Description

DurationMeasurement

type DurationMeasurement = { time: Number, result: T }

A return type that contains the execution time and result of a function call.

TimeMeasurement

type TimeMeasurement = { start: DateTime, result: T, end: DateTime }

A return type that contains a start time, end time, and result of a function call.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.