Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CPUTime

import type { CPUTime } from "https://googleapis.deno.dev/v1/dataflow:v1b3.ts";

Modeled after information exposed by /proc/stat.

interface CPUTime {
rate?: number;
timestamp?: Date;
totalMs?: bigint;
}

§Properties

§
rate?: number
[src]

Average CPU utilization rate (% non-idle cpu / second) since previous sample.

§
timestamp?: Date
[src]

Timestamp of the measurement.

§
totalMs?: bigint
[src]

Total active CPU time across all cores (ie., non-idle) in milliseconds since start-up.