Skip to content

ElectronCPUUsage

Unofficial

CPU usage statistics for a process.

Import:

import type { ElectronCPUUsage } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronCPUUsage

Properties

Property Type Description
idleWakeupsPerSecond number The number of average idle CPU wakeups per second since the last call to getCPUUsage. First call returns 0. Always returns 0 on Windows.
percentCPUUsage number Percentage of CPU used since the last call to getCPUUsage. First call returns 0.

Links to this page: