method IRuntimeServices.hrtime
IRuntimeServices.hrtime(): number

Returns a high-resolution monotonic timestamp in milliseconds, suitable for measuring durations.

Return Type

number

Monotonic milliseconds

Usage

import { type IRuntimeServices } from "common/src/index.ts";