Skip to content

ElectronContentTracing.getTraceBufferUsage method

ElectronContentTracing › getTraceBufferUsage

Unofficial

Get the maximum usage across processes of the trace buffer as a percentage of the full state.

Signature:

getTraceBufferUsage(): Promise<ElectronTraceBufferUsageReturnValue>

Returns: Promise<ElectronTraceBufferUsageReturnValue>A promise that resolves with an object containing the value and percentage of the trace buffer maximum usage.