Skip to main content
IntervalHistogram - perf_hooks - Node documentation
interface IntervalHistogram
extends Histogram

Usage in Deno

import { type IntervalHistogram } from "node:perf_hooks";

Methods

enable(): boolean

Enables the update interval timer. Returns true if the timer was started, false if it was already started.

disable(): boolean

Disables the update interval timer. Returns true if the timer was stopped, false if it was already stopped.